android-app/res/layout/main.xml

66 lines
2.2 KiB
XML
Raw Normal View History

2013-08-08 08:38:47 -04:00
<?xml version="1.0" encoding="utf-8"?>
2013-08-08 13:53:18 -04:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2013-08-08 08:38:47 -04:00
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
2013-08-08 13:53:18 -04:00
android:layout_height="wrap_content" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2013-08-08 13:53:18 -04:00
android:orientation="vertical"
android:paddingLeft="30sp"
android:paddingRight="30sp"
android:paddingTop="15dp" >
2013-08-08 13:53:18 -04:00
2013-11-13 18:14:27 -05:00
<ImageView
android:id="@+id/imageView1"
2013-11-15 11:57:56 -05:00
android:layout_width="256dp"
android:layout_height="256dp"
android:layout_gravity="center"
2013-11-13 18:14:27 -05:00
android:layout_weight="0"
android:contentDescription="@string/app_name"
2013-11-15 11:57:56 -05:00
android:scaleType="centerInside"
android:src="@drawable/poche" />
2013-08-08 13:53:18 -04:00
<TextView
android:layout_width="wrap_content"
2013-11-13 18:14:27 -05:00
android:layout_height="match_parent"
android:layout_gravity="center"
android:text="@string/hello"
2013-11-15 11:57:56 -05:00
android:textSize="28sp" />
2013-08-08 13:53:18 -04:00
2013-11-13 18:14:27 -05:00
<View
android:id="@+id/view1"
android:layout_width="fill_parent"
android:layout_height="1dip"
2013-11-13 18:14:27 -05:00
android:layout_marginBottom="6sp"
android:layout_marginTop="6sp"
android:layout_weight="0"
android:background="#000000" />
2013-08-08 13:53:18 -04:00
2013-11-11 17:07:22 -05:00
<Button
android:id="@+id/btnGetPost"
android:layout_width="fill_parent"
2013-11-11 17:07:22 -05:00
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/btnGetPost" />
<Button
android:id="@+id/btnSync"
android:layout_width="fill_parent"
2013-11-11 17:07:22 -05:00
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/btnSync" />
2013-11-11 17:07:22 -05:00
2014-01-04 09:33:29 -05:00
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_weight="0"
android:visibility="invisible" />
2013-08-08 13:53:18 -04:00
</LinearLayout>
2013-08-08 08:38:47 -04:00
</ScrollView>