Added warning icon to Warning screen
This commit is contained in:
parent
fbdeb71974
commit
322284ef9b
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -14,12 +14,12 @@
|
||||||
android:background="#000000"
|
android:background="#000000"
|
||||||
>
|
>
|
||||||
<ImageView
|
<ImageView
|
||||||
android:src="@drawable/tor"
|
android:src="@drawable/warning"
|
||||||
android:id="@+id/orbot_image"
|
android:id="@+id/orbot_image"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:paddingLeft="20px" android:paddingRight="20px" >
|
android:paddingLeft="20px" android:layout_marginLeft="10dip" android:layout_marginTop="8dip">
|
||||||
</ImageView>
|
</ImageView>
|
||||||
<TextView
|
<TextView
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
|
@ -37,7 +37,9 @@
|
||||||
|
|
||||||
|
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:padding="20px">
|
android:paddingLeft="5px"
|
||||||
|
android:padding="20px"
|
||||||
|
>
|
||||||
</TextView>
|
</TextView>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
<TableLayout android:id="@+id/TableLayout01" android:stretchColumns="*" android:layout_height="fill_parent" android:layout_width="wrap_content" >
|
<TableLayout android:id="@+id/TableLayout01" android:stretchColumns="*" android:layout_height="fill_parent" android:layout_width="wrap_content" >
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class LotsaText extends Activity implements TorConstants{
|
||||||
ImageView img = (ImageView) findViewById(R.id.orbot_image);
|
ImageView img = (ImageView) findViewById(R.id.orbot_image);
|
||||||
|
|
||||||
btn1.setVisibility(Button.INVISIBLE);
|
btn1.setVisibility(Button.INVISIBLE);
|
||||||
img.setVisibility(ImageView.VISIBLE);
|
img.setImageResource(R.drawable.tor);
|
||||||
|
|
||||||
btn2.setOnClickListener(new View.OnClickListener() {
|
btn2.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ public class LotsaText extends Activity implements TorConstants{
|
||||||
ImageView img = (ImageView) findViewById(R.id.orbot_image);
|
ImageView img = (ImageView) findViewById(R.id.orbot_image);
|
||||||
|
|
||||||
btn1.setVisibility(Button.VISIBLE);
|
btn1.setVisibility(Button.VISIBLE);
|
||||||
img.setVisibility(ImageView.INVISIBLE);
|
img.setImageResource(R.drawable.warning);
|
||||||
|
|
||||||
btn1.setOnClickListener(new View.OnClickListener() {
|
btn1.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue