diff --git a/res/drawable/warning.png b/res/drawable/warning.png new file mode 100644 index 00000000..42dc6d66 Binary files /dev/null and b/res/drawable/warning.png differ diff --git a/res/layout/scrollingtext_buttons_view.xml b/res/layout/scrollingtext_buttons_view.xml index 930bf729..ebecfad7 100644 --- a/res/layout/scrollingtext_buttons_view.xml +++ b/res/layout/scrollingtext_buttons_view.xml @@ -14,12 +14,12 @@ android:background="#000000" > + android:paddingLeft="20px" android:layout_marginLeft="10dip" android:layout_marginTop="8dip"> + android:paddingLeft="5px" + android:padding="20px" + > diff --git a/src/org/torproject/android/LotsaText.java b/src/org/torproject/android/LotsaText.java index 43e6d16c..9f845db2 100644 --- a/src/org/torproject/android/LotsaText.java +++ b/src/org/torproject/android/LotsaText.java @@ -73,8 +73,8 @@ public class LotsaText extends Activity implements TorConstants{ ImageView img = (ImageView) findViewById(R.id.orbot_image); btn1.setVisibility(Button.INVISIBLE); - img.setVisibility(ImageView.VISIBLE); - + img.setImageResource(R.drawable.tor); + btn2.setOnClickListener(new View.OnClickListener() { @Override @@ -108,7 +108,7 @@ public class LotsaText extends Activity implements TorConstants{ ImageView img = (ImageView) findViewById(R.id.orbot_image); btn1.setVisibility(Button.VISIBLE); - img.setVisibility(ImageView.INVISIBLE); + img.setImageResource(R.drawable.warning); btn1.setOnClickListener(new View.OnClickListener() {