mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
117 lines
No EOL
4.4 KiB
XML
117 lines
No EOL
4.4 KiB
XML
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" >
|
|
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/backgroundImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="fill_parent"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
<!-- Hiding the shadow because we're not doing the Actionbar now
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="12dp"
|
|
android:layout_marginTop="48dp"
|
|
android:background="@drawable/actionbar_top_shadow"
|
|
android:orientation="vertical" >
|
|
</LinearLayout>
|
|
-->
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="fill_horizontal"
|
|
android:layout_marginBottom="64dip"
|
|
android:layout_marginLeft="16dip"
|
|
android:layout_marginRight="16dip"
|
|
android:layout_marginTop="64dip"
|
|
android:background="@drawable/share_overlay_background_gradient"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="8dip"
|
|
android:paddingLeft="16dip"
|
|
android:paddingRight="16dip"
|
|
android:paddingTop="8dip" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:src="@drawable/ic_download" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dip"
|
|
android:layout_marginLeft="8dip"
|
|
android:text="@string/upload_overlay_title"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="#818181"
|
|
android:textSize="20sp" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Title"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#818181" />
|
|
|
|
<EditText
|
|
android:id="@+id/titleEdit"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:scrollHorizontally="false"
|
|
android:singleLine="true"
|
|
android:textColor="#363636" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="#dadada"
|
|
android:orientation="vertical" >
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Description"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#818181" />
|
|
|
|
<EditText
|
|
android:id="@+id/descEdit"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textMultiLine"
|
|
android:textColor="#363636" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="#dadada"
|
|
android:orientation="vertical" >
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/uploadButton"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Upload" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
</FrameLayout> |