android-app/res/layout/main.xml

69 lines
2.3 KiB
XML
Raw Normal View History

2013-08-08 08:38:47 -04:00
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2013-08-08 08:38:47 -04:00
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
tools:context="fr.gaulupeau.apps.Poche.Poche" >
2013-08-08 13:53:18 -04:00
<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"
android:textSize="25sp" />
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="gone" />
2013-08-08 13:53:18 -04:00
</LinearLayout>
2013-08-08 08:38:47 -04:00
</ScrollView>