Initial commit
This commit is contained in:
120
resources/res/layout/activity_address.xml
Normal file
120
resources/res/layout/activity_address.xml
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@color/theme_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp50"
|
||||
android:layout_below="@+id/nbv_bar"
|
||||
android:layout_centerInParent="true">
|
||||
<RelativeLayout
|
||||
android:layout_marginTop="@dimen/dp10"
|
||||
style="@style/input_parent_view_style">
|
||||
<ImageView
|
||||
android:id="@+id/im_username_icon"
|
||||
android:layout_width="@dimen/dp70"
|
||||
android:layout_height="@dimen/dp70"
|
||||
android:layout_marginLeft="@dimen/dp15w"
|
||||
android:src="@drawable/ic_nickname"
|
||||
android:layout_centerVertical="true"/>
|
||||
<com.ubt.jimu.widgets.ClearEditText
|
||||
android:id="@+id/nameEditText"
|
||||
android:layout_marginLeft="@dimen/dp30w"
|
||||
android:layout_marginRight="@dimen/dp20w"
|
||||
android:hint="@string/address_name"
|
||||
android:maxLength="30"
|
||||
android:layout_toRightOf="@+id/im_username_icon"
|
||||
android:layout_centerVertical="true"
|
||||
android:inputType="textEmailAddress"
|
||||
style="@style/clear_edit_text_style"/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_telephone_layout"
|
||||
style="@style/input_parent_view_style">
|
||||
<ImageView
|
||||
android:id="@+id/im_telephone_icon"
|
||||
android:layout_width="@dimen/dp70"
|
||||
android:layout_height="@dimen/dp70"
|
||||
android:layout_marginLeft="@dimen/dp15w"
|
||||
android:src="@drawable/ic_telephone"
|
||||
android:layout_centerVertical="true"/>
|
||||
<com.ubt.jimu.widgets.ClearEditText
|
||||
android:id="@+id/telephoneEditText"
|
||||
android:layout_marginLeft="@dimen/dp30w"
|
||||
android:layout_marginRight="@dimen/dp20w"
|
||||
android:hint="@string/contact_phone"
|
||||
android:layout_centerVertical="true"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_toEndOf="@+id/im_telephone_icon"
|
||||
style="@style/clear_edit_text_style"/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:background="@drawable/bg_circular_bead"
|
||||
android:layout_width="@dimen/dp632w"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:background="@drawable/address_icon"
|
||||
android:layout_width="@dimen/dp70"
|
||||
android:layout_height="@dimen/dp70"
|
||||
android:layout_marginLeft="@dimen/dp30w"
|
||||
android:layout_marginTop="@dimen/dp10"/>
|
||||
<View
|
||||
android:id="@+id/view_1"
|
||||
android:background="@color/bg_C8C7CC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp1"
|
||||
android:layout_marginLeft="@dimen/dp35"
|
||||
android:layout_marginTop="@dimen/dp80"
|
||||
android:layout_marginRight="@dimen/dp35"
|
||||
android:alpha="0.5"/>
|
||||
<View
|
||||
android:id="@+id/view_2"
|
||||
android:background="@color/bg_C8C7CC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp1"
|
||||
android:layout_marginLeft="@dimen/dp35"
|
||||
android:layout_marginTop="@dimen/dp65"
|
||||
android:layout_marginRight="@dimen/dp35"
|
||||
android:layout_below="@+id/view_1"
|
||||
android:alpha="0.5"/>
|
||||
<View
|
||||
android:id="@+id/view_3"
|
||||
android:background="@color/bg_C8C7CC"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp1"
|
||||
android:layout_marginLeft="@dimen/dp35"
|
||||
android:layout_marginTop="@dimen/dp65"
|
||||
android:layout_marginRight="@dimen/dp35"
|
||||
android:layout_below="@+id/view_2"
|
||||
android:alpha="0.5"/>
|
||||
<EditText
|
||||
android:textSize="@dimen/dp32"
|
||||
android:textColor="@color/theme_input_txt"
|
||||
android:textColorHint="@color/theme_input_hint"
|
||||
android:gravity="top"
|
||||
android:id="@+id/et_detail"
|
||||
android:background="@color/translucent"
|
||||
android:paddingLeft="@dimen/dp110w"
|
||||
android:paddingRight="@dimen/dp45"
|
||||
android:paddingBottom="@dimen/dp20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp30"
|
||||
android:hint="@string/detail_address"
|
||||
android:lines="3"
|
||||
android:maxLength="50"
|
||||
android:lineSpacingExtra="@dimen/dp30"
|
||||
android:imeOptions="flagNoExtractUi"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<com.ubt.jimu.widgets.NavigationBarView
|
||||
android:id="@+id/nbv_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:nbv_mode="left_right"
|
||||
app:nbv_title="@string/title_address"/>
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user