android-app/res/layout/main.xml
GAULUPEAU Jonathan 303cd9b6d0 Several changes.
2014-01-04 15:33:29 +01:00

66 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="30sp"
android:paddingRight="30sp"
android:paddingTop="15dp" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="256dp"
android:layout_height="256dp"
android:layout_gravity="center"
android:layout_weight="0"
android:contentDescription="@string/app_name"
android:scaleType="centerInside"
android:src="@drawable/poche" />
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:text="@string/hello"
android:textSize="28sp" />
<View
android:id="@+id/view1"
android:layout_width="fill_parent"
android:layout_height="1dip"
android:layout_marginBottom="6sp"
android:layout_marginTop="6sp"
android:layout_weight="0"
android:background="#000000" />
<Button
android:id="@+id/btnGetPost"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/btnGetPost" />
<Button
android:id="@+id/btnSync"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/btnSync" />
<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" />
</LinearLayout>
</ScrollView>