106 lines
3.5 KiB
XML
106 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
tools:context="cpm.com.gskmtorange.dailyentry.StoreimageActivity"
|
|
tools:showIn="@layout/activity_storeimage"
|
|
android:weightSum="10"
|
|
android:orientation="vertical"
|
|
android:background="@color/grey_background">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:background="@color/colorPrimary">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/storefront"
|
|
android:textSize="@dimen/store_entry_text_size"
|
|
android:layout_centerInParent="true"
|
|
android:textColor="@color/white"
|
|
android:textStyle="bold"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<!-- <RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="100dp"
|
|
android:layout_marginTop="10dp"
|
|
|
|
>
|
|
|
|
<ImageView
|
|
android:id="@+id/imgloreal"
|
|
android:layout_width="200dp"
|
|
android:layout_height="100dp"
|
|
android:src="@drawable/loreal"
|
|
android:layout_centerInParent="true"
|
|
/>
|
|
|
|
</RelativeLayout>-->
|
|
|
|
<android.support.v7.widget.CardView
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="8"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
card_view:cardBackgroundColor="@color/white"
|
|
card_view:cardCornerRadius="5dp"
|
|
>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/rel_selfie"
|
|
>
|
|
|
|
<ImageView
|
|
android:id="@+id/img_selfie"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
<ImageView
|
|
android:id="@+id/img_cam_selfie"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@mipmap/camera_orange"
|
|
android:layout_centerInParent="true"
|
|
/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
android:id="@+id/btn_save_selfie"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorPrimary"
|
|
android:text="@string/save"
|
|
android:textSize="@dimen/store_entry_text_size"
|
|
android:layout_centerInParent="true"
|
|
android:textColor="@color/white"
|
|
android:textStyle="bold"
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
</LinearLayout>
|