mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
114 lines
No EOL
4 KiB
XML
114 lines
No EOL
4 KiB
XML
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/buttonLayout"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone"
|
|
android:layout_below="@+id/icon"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/cameraButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="16dp"
|
|
android:clickable="true"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/button_background_selector"
|
|
>
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
app:srcCompat="@drawable/ic_photo_camera_white_24dp"
|
|
android:tint="@color/button_blue"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="CAMERA"
|
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/galeryButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="16dp"
|
|
android:clickable="true"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/button_background_selector"
|
|
>
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
app:srcCompat="@drawable/ic_photo_white_24dp"
|
|
android:tint="@color/button_blue"
|
|
android:duplicateParentState="true"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="GALLERY"
|
|
android:duplicateParentState="true"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/directionsButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="16dp"
|
|
android:clickable="true"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/button_background_selector"
|
|
>
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
app:srcCompat="@drawable/ic_directions_black_24dp"
|
|
android:duplicateParentState="true"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="DIRECTIONS"
|
|
android:duplicateParentState="true"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/iconOverflow"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="16dp"
|
|
android:clickable="true"
|
|
android:orientation="vertical"
|
|
>
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
app:srcCompat="@drawable/ic_overflow"
|
|
android:duplicateParentState="true"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="MORE"
|
|
android:duplicateParentState="true"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |