d
6
app/src/main/res/anim/dialog_dismiss.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:toYDelta="100%p"
|
||||
android:duration="500" />
|
||||
</set>
|
||||
6
app/src/main/res/anim/dialog_show.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:fromYDelta="100%p"
|
||||
android:duration="500" />
|
||||
</set>
|
||||
8
app/src/main/res/anim/push_bottom_in2.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- 上下滑入式 -->
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:duration="200"
|
||||
android:fromYDelta="100%p"
|
||||
android:toYDelta="0%p" />
|
||||
</set>
|
||||
11
app/src/main/res/anim/push_bottom_out2.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- 上下滑入式 -->
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
|
||||
<translate
|
||||
android:duration="200"
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="100%p" />
|
||||
|
||||
|
||||
</set>
|
||||
16
app/src/main/res/anim/slide_in_bottom.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/accelerate_decelerate"
|
||||
>
|
||||
|
||||
<translate
|
||||
android:duration="@android:integer/config_mediumAnimTime"
|
||||
android:fromYDelta="100%p"
|
||||
android:toYDelta="0" />
|
||||
|
||||
<alpha
|
||||
android:duration="@android:integer/config_mediumAnimTime"
|
||||
android:fromAlpha="0.95"
|
||||
android:toAlpha="1" />
|
||||
|
||||
</set>
|
||||
14
app/src/main/res/anim/slide_out_bottom.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="@android:integer/config_mediumAnimTime"
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="100%p" />
|
||||
|
||||
<alpha
|
||||
android:duration="@android:integer/config_mediumAnimTime"
|
||||
android:fromAlpha="1"
|
||||
android:toAlpha="0.95" />
|
||||
|
||||
</set>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/colorAccent" android:state_selected="true"/>
|
||||
<item android:color="@color/colorTextDark" android:state_selected="false"/>
|
||||
</selector>
|
||||
5
app/src/main/res/color/color_selector_text_send_code.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/colorAccent" android:state_enabled="true"/>
|
||||
<item android:color="@color/colorText" android:state_enabled="false"/>
|
||||
</selector>
|
||||
5
app/src/main/res/color/selector_tag_text.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/colorPrimary" android:state_checked="true" />
|
||||
<item android:color="@color/colorAccent" />
|
||||
</selector><!-- From: file:/D:/Android/work/MerchantEdition/app/src/main/res/drawable/main_menu_selector.xml -->
|
||||
33
app/src/main/res/drawable-v21/selector_btn_green_bg.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/colorPressGreen">
|
||||
<item
|
||||
android:id="@android:id/mask">
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/colorPressGreen"/>
|
||||
<corners android:radius="5dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<selector>
|
||||
<item android:state_enabled="false">
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/colorGreenLight"/>
|
||||
<corners android:radius="5dp"/>
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_enabled="true">
|
||||
<shape
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/colorGreen"/>
|
||||
<corners android:radius="5dp"/>
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
</item>
|
||||
</ripple>
|
||||
34
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportHeight="108"
|
||||
android:viewportWidth="108">
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:strokeWidth="1">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="78.5885"
|
||||
android:endY="90.9159"
|
||||
android:startX="48.7653"
|
||||
android:startY="61.0927"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:strokeWidth="1" />
|
||||
</vector>
|
||||
10
app/src/main/res/drawable/bg_faxian.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#ffffff" />
|
||||
<corners
|
||||
android:bottomLeftRadius="25dp"
|
||||
android:bottomRightRadius="25dp"
|
||||
android:topLeftRadius="25dp"
|
||||
android:topRightRadius="25dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_radius_yellow.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/yellow" />
|
||||
<corners android:radius="180dp" />
|
||||
</shape>
|
||||
13
app/src/main/res/drawable/button_pass_bg.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#70B1FF" />
|
||||
<corners android:topLeftRadius="22dp"
|
||||
android:topRightRadius="22dp"
|
||||
android:bottomLeftRadius="22dp"
|
||||
android:bottomRightRadius="22dp" />
|
||||
<gradient
|
||||
android:angle="-0"
|
||||
android:endColor="#2680EB"
|
||||
android:startColor="#70B1FF" />
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/dialogwhite.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners android:radius="15dp"/>
|
||||
|
||||
<solid android:color="@color/colorWhite"/>
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/drawable_loading_bg_white.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/colorWhile"/>
|
||||
<corners android:radius="5dp"/>
|
||||
|
||||
</shape>
|
||||
21
app/src/main/res/drawable/drawable_selector_bg_send_code.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="true">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="4dp"/>
|
||||
<solid android:color="@color/colorWhite"/>
|
||||
<stroke android:width="0.5dp"
|
||||
android:color="@color/colorAccent"/>
|
||||
<padding android:left="13dp" android:right="13dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_enabled="false">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="4dp"/>
|
||||
<solid android:color="@color/colorWhite"/>
|
||||
<stroke android:width="0.5dp"
|
||||
android:color="@color/colorText"/>
|
||||
<padding android:left="13dp" android:right="13dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
12
app/src/main/res/drawable/drawable_shape_edit.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="4dp"/>
|
||||
<stroke
|
||||
android:width="0.5dp"
|
||||
android:color="@color/colorDivLine"/>
|
||||
<solid android:color="@color/colorMainBG"/>
|
||||
<padding
|
||||
android:left="13dp"
|
||||
android:right="13dp"/>
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/drawable_unread_bg.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="@color/colorRed"/>
|
||||
<corners android:radius="20dp"/>
|
||||
|
||||
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/exit_dialog_bg.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
<corners
|
||||
android:radius="@dimen/dimen_10"/>
|
||||
|
||||
<solid android:color="@color/colorWhite" />
|
||||
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/guid_shap_bg.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="45dp"/>
|
||||
<stroke android:color="@color/colorWhile" android:width="1dp"/>
|
||||
<solid android:color="@color/colorBlack"/>
|
||||
|
||||
</shape>
|
||||
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
@@ -0,0 +1,170 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportHeight="108"
|
||||
android:viewportWidth="108">
|
||||
<path
|
||||
android:fillColor="#26A69A"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
</vector>
|
||||
6
app/src/main/res/drawable/selector_check.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_checked="true" android:drawable="@mipmap/login_has_choose"/>
|
||||
<item android:state_checked="false" android:drawable="@mipmap/login_no_choose"/>
|
||||
|
||||
</selector>
|
||||
9
app/src/main/res/drawable/shape_home_recyle.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android= "http://schemas.android.com/apk/res/android"
|
||||
android:shape= "oval"
|
||||
android:useLevel= "false" >
|
||||
<solid android:color="@color/color_303030" />
|
||||
<size android:width="@dimen/dimen_46"
|
||||
android:height="@dimen/dimen_46" />
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_inbound_item_bg.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_303030" />
|
||||
<corners android:radius="@dimen/dimen_10" />
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/shape_inbound_item_yellow.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_ffc107" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="@dimen/dimen_10"
|
||||
android:topLeftRadius="@dimen/dimen_10"/>
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/shape_login_btn.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/colorBlack" />
|
||||
<corners android:radius="@dimen/dimen_25" />
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_message_item_bg.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_303030" />
|
||||
<corners android:radius="@dimen/dimen_10" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_mine_invendy.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/colorBlack" />
|
||||
<corners android:radius="@dimen/dimen_15" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_mine_message.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/red" />
|
||||
<corners android:radius="@dimen/dimen_15" />
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/shape_my_menu.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#ffffffff" />
|
||||
<item android:name="android:shadowColor">#1a000000</item>
|
||||
<item android:name="android:shadowDx">0</item>
|
||||
<item android:name="android:shadowDy">2</item>
|
||||
<corners android:topLeftRadius="6dp" android:topRightRadius="6dp" android:bottomLeftRadius="6dp" android:bottomRightRadius="6dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_rl_mingxi_btn.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#ffffffff" />
|
||||
<corners android:topLeftRadius="10dp" android:topRightRadius="10dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_tixian_btn.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#ffffffff" />
|
||||
<corners android:topLeftRadius="126dp" android:topRightRadius="126dp" android:bottomLeftRadius="126dp" android:bottomRightRadius="126dp" />
|
||||
</shape>
|
||||
117
app/src/main/res/layout/activity_find_password.xml
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.TitleBar
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="16dp"
|
||||
android:background="@color/colorWhite"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="13dp"
|
||||
android:paddingRight="13dp"
|
||||
android:paddingTop="16dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/text_phone_number_"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_phone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/drawable_shape_edit"
|
||||
android:inputType="number"
|
||||
android:maxLength="11"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/text_password_"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/drawable_shape_edit"
|
||||
android:inputType="textPassword"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/text_sure_password_"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_sure_password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/drawable_shape_edit"
|
||||
android:inputType="textPassword"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/text_code_"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_code"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/drawable_shape_edit"
|
||||
android:inputType="number"
|
||||
android:maxLength="4"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_send_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginStart="30dp"
|
||||
android:textSize="13sp"
|
||||
android:background="@drawable/drawable_selector_bg_send_code"
|
||||
android:text="@string/text_GetAuthCode"
|
||||
android:textColor="@color/color_selector_text_send_code"/>
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_sure"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/selector_btn_green_bg"
|
||||
android:text="@string/text_sure_edit_pw"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
12
app/src/main/res/layout/activity_guid.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<android.support.v4.view.ViewPager
|
||||
android:id="@+id/view_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
</android.support.v4.view.ViewPager>
|
||||
|
||||
</RelativeLayout>
|
||||
128
app/src/main/res/layout/activity_login.xml
Normal file
@@ -0,0 +1,128 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_300"
|
||||
android:background="@mipmap/login_top_bg">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/login_logo"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_phone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_35"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginLeft="@dimen/dimen_70">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_phone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/login_phone_icon"/>
|
||||
<EditText
|
||||
android:id="@+id/et_phone"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="14sp"
|
||||
android:hint="请输入手机号"
|
||||
android:layout_gravity="bottom"
|
||||
android:inputType="number"
|
||||
android:textColorHint="@color/colorContestBookBtnGray"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dimen_70"
|
||||
android:layout_marginRight="@dimen/dimen_70"
|
||||
android:layout_marginTop="@dimen/dimen_5"
|
||||
android:background="@color/colorBlack"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ll_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_35"
|
||||
android:layout_marginLeft="@dimen/dimen_70">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/login_code_icon"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="14sp"
|
||||
android:hint="请输入验证码"
|
||||
android:layout_toRightOf="@id/iv_code"
|
||||
android:textColorHint="@color/colorContestBookBtnGray"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_get_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/dimen_70"
|
||||
android:text="获取验证码"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="@dimen/dimen_70"
|
||||
android:layout_marginRight="@dimen/dimen_70"
|
||||
android:layout_marginTop="@dimen/dimen_5"
|
||||
android:background="@color/colorBlack"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_code_error"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_95"
|
||||
android:layout_marginTop="@dimen/dimen_3"
|
||||
android:textColor="@color/color_ff7f7f"
|
||||
android:text="验证码错误请重新输入!"
|
||||
android:visibility="gone"
|
||||
android:textSize="@dimen/dimen_12"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_45"
|
||||
android:text="登录"
|
||||
android:layout_marginRight="@dimen/dimen_70"
|
||||
android:layout_marginLeft="@dimen/dimen_70"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:background="@drawable/shape_login_btn"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
190
app/src/main/res/layout/activity_main.xml
Normal file
@@ -0,0 +1,190 @@
|
||||
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:clipToPadding="false"
|
||||
>
|
||||
<FrameLayout
|
||||
android:id="@+id/fl_tms"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:clipToPadding="false"
|
||||
>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<RelativeLayout
|
||||
android:id="@+id/content_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/linearLayout_tms"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout_tms"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="#ffffff"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="6dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_home"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_home_img"
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@mipmap/icon_task_hui"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_home"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_home_img"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="任务"
|
||||
android:textColor="@color/colorhui"
|
||||
android:textSize="11sp" />
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_send"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_send_img"
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@mipmap/icon_zhibohui"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_send"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_send_img"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="直播"
|
||||
android:textColor="@color/colorhui"
|
||||
android:textSize="11sp" />
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_map"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_map_img"
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@mipmap/icon_kehuhui" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_map"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_map_img"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="2dp"
|
||||
android:textColor="@color/colorhui"
|
||||
android:text="客户"
|
||||
android:textSize="11sp" />
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_mine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_mine_img"
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@mipmap/icon_wodehui" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_mine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_mine_img"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="我的"
|
||||
android:textColor="@color/colorhui"
|
||||
android:textSize="11sp"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_faxian"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="65dp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/bg_faxian"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/img_toggle_cms"
|
||||
android:layout_width="38dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@mipmap/icon_faxian"/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@+id/img_toggle_cms"
|
||||
android:text="发现"
|
||||
android:textColor="@color/colorhui"
|
||||
android:textSize="11sp" />
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
16
app/src/main/res/layout/activity_main2.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:omi="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/container"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/rl_top">
|
||||
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
21
app/src/main/res/layout/activity_mine_inbound_history.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_131313"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
layout="@layout/title_layout"/>
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rcy_inbound_history"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_3"
|
||||
android:layout_marginLeft="@dimen/dimen_21dp"
|
||||
android:layout_marginRight="@dimen/dimen_21dp">
|
||||
|
||||
</android.support.v7.widget.RecyclerView>
|
||||
|
||||
</LinearLayout>
|
||||
61
app/src/main/res/layout/activity_mine_messgae_notice.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_131313"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
layout="@layout/title_layout"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_today"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/message_today"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:background="@color/color_ffc107"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_yesterday"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/message_yesterday"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:layout_marginLeft="@dimen/dimen_2dp"
|
||||
android:background="@color/color_303030"/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_history"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/message_history"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:layout_marginLeft="@dimen/dimen_2dp"
|
||||
android:background="@color/color_303030"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rcy_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_3"
|
||||
android:layout_marginLeft="@dimen/dimen_8"
|
||||
android:layout_marginRight="@dimen/dimen_8">
|
||||
|
||||
</android.support.v7.widget.RecyclerView>
|
||||
|
||||
</LinearLayout>
|
||||
21
app/src/main/res/layout/activity_mine_outbound_history.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_131313"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
layout="@layout/title_layout"/>
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rcy_outbound_history"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_3"
|
||||
android:layout_marginLeft="@dimen/dimen_21dp"
|
||||
android:layout_marginRight="@dimen/dimen_21dp">
|
||||
|
||||
</android.support.v7.widget.RecyclerView>
|
||||
|
||||
</LinearLayout>
|
||||
154
app/src/main/res/layout/activity_password_login.xml
Normal file
@@ -0,0 +1,154 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginTop="62dp"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:text="你好,"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="28sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:text="欢迎来到七月七"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="28sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_phone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="97dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="24dp"
|
||||
android:text="手机号码"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="17sp"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="10.5dp"
|
||||
android:layout_marginLeft="32dp">
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_phone"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="14sp"
|
||||
android:hint="请输入手机号"
|
||||
android:layout_gravity="bottom"
|
||||
android:inputType="number"
|
||||
android:textColorHint="@color/colorContestBookBtnGray"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:layout_marginRight="32dp"
|
||||
android:layout_marginTop="@dimen/dimen_5"
|
||||
android:background="@color/colorBlack"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="24dp"
|
||||
android:text="密码"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="17sp"
|
||||
/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ll_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10.5dp"
|
||||
android:layout_marginLeft="32dp">
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_pass"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="14sp"
|
||||
android:hint="请输入验证码"
|
||||
|
||||
android:textColorHint="@color/colorContestBookBtnGray"/>
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:layout_marginRight="32dp"
|
||||
android:layout_marginTop="@dimen/dimen_5"
|
||||
android:background="@color/colorBlack"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_login"
|
||||
android:layout_width="264dp"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginTop="@dimen/dimen_45"
|
||||
android:text="登录"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:background="@drawable/button_pass_bg"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:layout_width="66dp"
|
||||
android:layout_height="18dp"
|
||||
android:layout_marginTop="12.5dp"
|
||||
android:layout_marginLeft="70dp"
|
||||
android:text="验证码登录"
|
||||
android:textColor="#ff7a7a7a"
|
||||
android:textSize="13sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="70dp"
|
||||
android:layout_marginTop="12.5dp"
|
||||
android:layout_width="53dp"
|
||||
android:layout_height="18dp"
|
||||
android:text="忘记密码"
|
||||
android:textColor="#ff7a7a7a"
|
||||
android:textSize="13sp"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
222
app/src/main/res/layout/activity_register.xml
Normal file
@@ -0,0 +1,222 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context="com.example.administrator.newjiajiesong.main.activity.RegisterActivity">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/img_login"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:background="@color/colorHalfWite">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/ib_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:padding="18dp"
|
||||
android:src="@mipmap/nav_back"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_register"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="18sp"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/iv_bg"
|
||||
android:background="@color/colorWhite"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="40dp"
|
||||
android:paddingLeft="40dp"
|
||||
android:paddingRight="40dp"
|
||||
android:paddingTop="20dp"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/text_phone"/>
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_phone"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_weight="2"
|
||||
android:background="@null"
|
||||
android:inputType="number"
|
||||
android:maxLength="11"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/colorLine"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/text_password"/>
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_password"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_weight="2"
|
||||
android:background="@null"
|
||||
android:inputType="textPassword"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/colorLine"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/text_sure_password"/>
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_sure_password"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_weight="2"
|
||||
android:background="@null"
|
||||
android:inputType="textPassword"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/colorLine"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/text_RefereeStudentId"/>
|
||||
|
||||
<com.example.administrator.newjiajiesong.widget.ClearEditText
|
||||
android:id="@+id/cet_RefereeStudentId"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_weight="2"
|
||||
android:background="@null"
|
||||
android:inputType="text"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/colorLine"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/text_AuthCode"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_code"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:layout_marginRight="13dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:inputType="number"
|
||||
android:maxLength="4"
|
||||
android:textSize="16sp"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_send_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:background="@drawable/drawable_selector_bg_send_code"
|
||||
android:text="@string/text_GetAuthCode"
|
||||
android:textColor="@color/color_selector_text_send_code"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/colorLine"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_register"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/selector_btn_green_bg"
|
||||
android:text="@string/text_register"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="18sp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_go_login"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginTop="20dp"
|
||||
android:text="@string/text_register_tip"
|
||||
android:textColor="@color/colorAccent"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</RelativeLayout>
|
||||
16
app/src/main/res/layout/activity_splash.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/view_warp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorAccent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginLeft="-80dp"
|
||||
android:layout_marginRight="-80dp"
|
||||
android:background="@mipmap/ic_launcher"/>
|
||||
</LinearLayout>
|
||||
13
app/src/main/res/layout/activity_testmvpfragment.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<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"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_container"/>
|
||||
|
||||
</LinearLayout>
|
||||
19
app/src/main/res/layout/activity_xfive.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<include layout="@layout/title_top" />
|
||||
<com.example.administrator.seven.utils.X5WebView
|
||||
android:id="@+id/webView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
|
||||
</com.example.administrator.seven.utils.X5WebView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
33
app/src/main/res/layout/dialog_loading.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:background="@drawable/drawable_loading_bg_white"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/ivProgress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminateTint="@color/colorBlack"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:text="加载中.."
|
||||
android:textColor="@color/colorTextBlack333"
|
||||
android:textSize="16sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
23
app/src/main/res/layout/empty_view.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/bg"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@null"
|
||||
android:src="@mipmap/icon_nodata" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="33dp"
|
||||
android:textColor="#ffa1adbd"
|
||||
android:text="暂无数据~" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
22
app/src/main/res/layout/error_view.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/bg"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@null"
|
||||
android:src="@mipmap/icon_error" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="33dp"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:textColor="#ffa1adbd"
|
||||
android:text="加载失败,请重新加载~" />
|
||||
</LinearLayout>
|
||||
289
app/src/main/res/layout/fragment_home_layout.xml
Normal file
@@ -0,0 +1,289 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
layout="@layout/title_layout"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_200"
|
||||
android:background="@mipmap/home_imageview"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:text="@string/warehouse_function"
|
||||
android:textSize="@dimen/dimen_15sp"
|
||||
android:paddingBottom="@dimen/dimen_6"
|
||||
android:paddingTop="@dimen/dimen_6"
|
||||
android:paddingLeft="@dimen/dimen_10"
|
||||
android:paddingRight="@dimen/dimen_10"
|
||||
android:background="@color/color_303030"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_19"
|
||||
android:layout_height="@dimen/dimen_19"
|
||||
android:src="@mipmap/home_storage"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/inbound_list"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_19"
|
||||
android:layout_height="@dimen/dimen_19"
|
||||
android:src="@mipmap/home_outbound_list"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/outbound_list"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_19"
|
||||
android:layout_height="@dimen/dimen_19"
|
||||
android:src="@mipmap/home_query"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/query"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_19"
|
||||
android:layout_height="@dimen/dimen_19"
|
||||
android:src="@mipmap/home_look_warehouse"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/look_warehouse"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_19"
|
||||
android:layout_height="@dimen/dimen_19"
|
||||
android:src="@mipmap/home_trans"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/transfer"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_19"
|
||||
android:layout_height="@dimen/dimen_19"
|
||||
android:src="@mipmap/home_damage"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/damage_list"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_22"
|
||||
android:layout_height="@dimen/dimen_16"
|
||||
android:src="@mipmap/home_product_proties"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/product_properties"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/dimen_46"
|
||||
android:layout_height="@dimen/dimen_46"
|
||||
android:background="@drawable/shape_home_recyle"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_19"
|
||||
android:layout_height="@dimen/dimen_19"
|
||||
android:src="@mipmap/home_storage"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6"
|
||||
android:text="@string/inbound_list"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/dimen_13"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
22
app/src/main/res/layout/fragment_invite_message.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
|
||||
<com.example.administrator.seven.test.RLListPager
|
||||
android:id="@+id/rlp_invite"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp">
|
||||
|
||||
</com.example.administrator.seven.test.RLListPager>
|
||||
<TextView
|
||||
|
||||
android:id="@+id/fanhuishuju"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="显示的文字"
|
||||
|
||||
/>
|
||||
|
||||
</FrameLayout>
|
||||
296
app/src/main/res/layout/fragment_mine_layout.xml
Normal file
@@ -0,0 +1,296 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.example.administrator.seven.view.HeadZoomScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_1E1E1E"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="197dp"
|
||||
android:gravity="center"
|
||||
android:background="@mipmap/fragment_my_bg">
|
||||
|
||||
<com.example.administrator.seven.widget.CircleImageView
|
||||
android:id="@+id/iv_avatar"
|
||||
android:layout_width="@dimen/dimen_75"
|
||||
android:layout_height="@dimen/dimen_75"
|
||||
android:src="@mipmap/mine_avatar"
|
||||
android:layout_centerHorizontal="true"
|
||||
app:border_color="#70ffffff"
|
||||
android:layout_marginTop="@dimen/dimen_20"
|
||||
app:border_width="2dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="张师傅"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/iv_avatar"
|
||||
android:layout_marginTop="@dimen/dimen_8"
|
||||
android:textColor="@color/colorBlack"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_phone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="电话:187XXXX2541"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/tv_username"
|
||||
android:layout_marginTop="@dimen/dimen_13"
|
||||
android:textColor="@color/colorBlack"/>
|
||||
|
||||
<!--<LinearLayout
|
||||
android:id="@+id/ll_car_information"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv_phone"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="陕A64041"
|
||||
android:layout_marginTop="@dimen/dimen_11"
|
||||
android:textColor="@color/colorBlack"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="面包车"
|
||||
android:layout_marginLeft="@dimen/dimen_6"
|
||||
android:layout_marginTop="@dimen/dimen_11"
|
||||
android:textColor="@color/colorBlack"/>
|
||||
|
||||
|
||||
</LinearLayout>-->
|
||||
|
||||
<com.example.administrator.seven.view.DynamicWave
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv_phone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_message"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/color_2E2E2E"
|
||||
android:paddingTop="@dimen/dimen_15"
|
||||
android:paddingBottom="@dimen/dimen_15"
|
||||
android:paddingLeft="@dimen/dimen_30">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_message"
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@mipmap/mine_message_notice"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/message_notice"
|
||||
android:layout_toRightOf="@id/iv_message"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="99+"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:layout_marginRight="@dimen/dimen_15"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:paddingTop="@dimen/dimen_3"
|
||||
android:paddingBottom="@dimen/dimen_3"
|
||||
android:paddingLeft="@dimen/dimen_10"
|
||||
android:paddingRight="@dimen/dimen_10"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/shape_mine_message"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_inbound_history"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/color_2E2E2E"
|
||||
android:paddingTop="@dimen/dimen_15"
|
||||
android:paddingBottom="@dimen/dimen_15"
|
||||
android:layout_marginTop="@dimen/dimen_1dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dimen_30">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:src="@mipmap/mine_inbound_history"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_history"
|
||||
android:layout_toRightOf="@id/iv_message"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_outbound_history"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/color_2E2E2E"
|
||||
android:paddingTop="@dimen/dimen_15"
|
||||
android:paddingBottom="@dimen/dimen_15"
|
||||
android:layout_marginTop="@dimen/dimen_1dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dimen_30">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:src="@mipmap/mine_outbound_history"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/outbound_history"
|
||||
android:layout_toRightOf="@id/iv_message"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/color_2E2E2E"
|
||||
android:paddingTop="@dimen/dimen_15"
|
||||
android:paddingBottom="@dimen/dimen_15"
|
||||
android:layout_marginTop="@dimen/dimen_1dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dimen_30">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:src="@mipmap/mine_history_order"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/outbound_order"
|
||||
android:layout_toRightOf="@id/iv_message"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/color_2E2E2E"
|
||||
android:paddingTop="@dimen/dimen_15"
|
||||
android:paddingBottom="@dimen/dimen_15"
|
||||
android:layout_marginTop="@dimen/dimen_1dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dimen_30">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:src="@mipmap/mine_assess"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/mine_assess"
|
||||
android:layout_toRightOf="@id/iv_message"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/color_2E2E2E"
|
||||
android:paddingTop="@dimen/dimen_15"
|
||||
android:paddingBottom="@dimen/dimen_15"
|
||||
android:layout_marginTop="@dimen/dimen_1dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dimen_30">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:src="@mipmap/mine_setting"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/setting"
|
||||
android:layout_toRightOf="@id/iv_message"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_exit_account"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/color_2E2E2E"
|
||||
android:paddingTop="@dimen/dimen_15"
|
||||
android:paddingBottom="@dimen/dimen_15"
|
||||
android:layout_marginTop="@dimen/dimen_17"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/dimen_30">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_20"
|
||||
android:layout_height="@dimen/dimen_20"
|
||||
android:src="@mipmap/mine_exit_account"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/exit_account"
|
||||
android:layout_marginLeft="@dimen/dimen_36"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_25">
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</com.example.administrator.seven.view.HeadZoomScrollView>
|
||||
15
app/src/main/res/layout/fragment_my.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context="com.example.administrator.seven.main.Fragment.MyFragment">
|
||||
|
||||
<android.support.v4.widget.SwipeRefreshLayout
|
||||
android:id="@+id/SwipeRefreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<include layout="@layout/layout_my_content"/>
|
||||
</android.support.v4.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
13
app/src/main/res/layout/fragment_one.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<include
|
||||
layout="@layout/title_layout"/>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
9
app/src/main/res/layout/guide_viewpager_one.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@mipmap/guide_one"/>
|
||||
</LinearLayout>
|
||||
27
app/src/main/res/layout/guide_viewpager_three.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@mipmap/guide_three" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/start_btn"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center_horizontal|bottom"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:text="立即体验"
|
||||
android:textColor="@color/colorPrimary"
|
||||
android:textSize="12sp" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
11
app/src/main/res/layout/guide_viewpager_two.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@mipmap/guide_two" />
|
||||
|
||||
</RelativeLayout>
|
||||
84
app/src/main/res/layout/item_base_dialog.xml
Normal file
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="276dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/dialogwhite"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="109dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="20dp"
|
||||
|
||||
android:text="温馨提示"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvPhone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:autoLink = "web"
|
||||
android:layout_marginRight="20dp"
|
||||
android:text=""
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="15sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/light" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSexCancel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="取消"
|
||||
android:textColor="#000000"
|
||||
android:textSize="16sp" />
|
||||
<View
|
||||
android:layout_width="0.5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/light" />
|
||||
<TextView
|
||||
android:id="@+id/tvSexSend"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="调职"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
15
app/src/main/res/layout/item_load_more.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_loadmore"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/colorWhite"
|
||||
android:gravity="center"
|
||||
android:textSize="16sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
111
app/src/main/res/layout/item_rv_add_friend_message.xml
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorWhite"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="昵称"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
|
||||
android:id="@+id/tv_reason"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="请求添加为好友"/>
|
||||
|
||||
<!--<TextView-->
|
||||
<!--android:id="@+id/tv_group"-->
|
||||
<!--android:layout_width="wrap_content"-->
|
||||
<!--android:layout_height="wrap_content"-->
|
||||
<!--android:textColor="@color/colorYellow"-->
|
||||
<!---->
|
||||
<!--tools:text="测试"-->
|
||||
<!--/>-->
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginEnd="13dp"
|
||||
android:layout_marginRight="13dp"
|
||||
android:layout_marginTop="13dp"
|
||||
android:text="sfsfsdfsdf"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/tv_time"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_reject"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
|
||||
android:text="不通过"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="13sp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_accept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:clickable="true"
|
||||
android:ems="3"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:text="通过"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="13sp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/tv_time"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="已通过"
|
||||
android:visibility="gone"/>
|
||||
</RelativeLayout>
|
||||
277
app/src/main/res/layout/layout_my_content.xml
Normal file
@@ -0,0 +1,277 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorWhite"
|
||||
android:fillViewport="true"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/bg_gray"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/view_personal_profile"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/fragment_my_bg">
|
||||
|
||||
<com.example.administrator.seven.widget.CircleImageView
|
||||
android:id="@+id/riv_avatar"
|
||||
android:layout_width="75dp"
|
||||
android:layout_height="75dp"
|
||||
android:layout_marginTop="40.5dp"
|
||||
android:layout_marginLeft="30.5dp"
|
||||
android:src="@mipmap/icon_default_head"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="23dp"
|
||||
android:layout_toRightOf="@+id/riv_avatar"
|
||||
android:layout_marginTop="45.5dp"
|
||||
android:layout_marginLeft="13.5dp"
|
||||
android:text="欧阳子文"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="17sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dichan"
|
||||
android:layout_width="37dp"
|
||||
android:layout_height="17dp"
|
||||
android:text="房地产"
|
||||
android:layout_toRightOf="@+id/tv_name"
|
||||
android:layout_marginTop="48.5dp"
|
||||
android:layout_marginLeft="13.5dp"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="37dp"
|
||||
android:layout_height="17dp"
|
||||
android:layout_toRightOf="@+id/tv_dichan"
|
||||
android:layout_marginTop="48.5dp"
|
||||
android:layout_marginLeft="13.5dp"
|
||||
android:textColor="#ffffffff"
|
||||
android:background="@mipmap/icon_vip_one"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="85dp"
|
||||
android:layout_height="18dp"
|
||||
android:text="189****5421"
|
||||
android:layout_toRightOf="@+id/riv_avatar"
|
||||
android:layout_marginTop="72.5dp"
|
||||
android:layout_marginLeft="13.5dp"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="15sp"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="83dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginTop="-66.5dp"
|
||||
android:background="@drawable/shape_my_menu"
|
||||
>
|
||||
<RelativeLayout
|
||||
android:id="@+id/my_rl_01"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="83dp"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/my_tv_01"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="16.5dp"
|
||||
android:background="@mipmap/icon_balance"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/my_tv_01"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="7dp"
|
||||
android:text="账户余额"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="83dp"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/my_tv_02"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="16.5dp"
|
||||
android:background="@mipmap/icon_per_data"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/my_tv_02"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="7dp"
|
||||
android:text="个人数据"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="83dp"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/my_tv_03"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="16.5dp"
|
||||
android:background="@mipmap/icon_activity"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/my_tv_03"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="7dp"
|
||||
android:text="活动策划"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="83dp"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/my_tv_04"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="16.5dp"
|
||||
android:background="@mipmap/icon_setting"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/my_tv_04"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="7dp"
|
||||
android:text="功能设置"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorWhite"
|
||||
android:layout_marginTop="22.5dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/view_top_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/bg_gray"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="13dp"
|
||||
android:paddingRight="13dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_icon"
|
||||
android:layout_width="21dp"
|
||||
android:layout_height="21dp"
|
||||
android:src="@mipmap/icon_version"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:layout_marginStart="13dp"
|
||||
android:text="@string/text_pay_for_friend"
|
||||
android:textColor="@color/colorTextDark"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_my_version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="v1.0.0"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view_bottom_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/bg_gray"/>
|
||||
</LinearLayout>
|
||||
<com.example.administrator.seven.widget.ItemView
|
||||
android:id="@+id/item_my_twitter"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:icon="@mipmap/icon_yinsi"
|
||||
app:show_top_line="true"
|
||||
app:title="@string/text_my_twitter"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorWhite"
|
||||
android:clickable="true"
|
||||
android:layout_marginTop="22.5dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lay_out"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="89dp"
|
||||
android:layout_height="21dp"
|
||||
android:text="退出当前账户"
|
||||
android:textColor="#ffff6868"
|
||||
android:textSize="15sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
49
app/src/main/res/layout/mine_exit_dialog.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/exit_dialog_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="@dimen/dimen_30"
|
||||
android:text="确定退出当前账号?"/>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginLeft="@dimen/dimen_20"
|
||||
android:layout_marginRight="@dimen/dimen_20"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="@dimen/dimen_20"
|
||||
android:layout_marginBottom="@dimen/dimen_10"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_navigate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_30"
|
||||
android:background="@null"
|
||||
android:textColor="@color/colorLightBlue"
|
||||
android:text="取消"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_detemine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_30"
|
||||
android:background="@null"
|
||||
android:layout_marginLeft="@dimen/dimen_20"
|
||||
android:textColor="@color/colorLightBlue"
|
||||
android:text="确定"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
130
app/src/main/res/layout/mine_inbound_history_item.xml
Normal file
@@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="175dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/shape_message_item_bg">
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dimen_10"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_inbound_item_yellow"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="@dimen/dimen_11dp"
|
||||
android:layout_marginLeft="@dimen/dimen_14dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_num"
|
||||
android:textColor="@color/color_ffc107"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="RK1710180001AX01"
|
||||
android:textColor="@color/color_ffc107"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dimen_301dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/color_ffc107"
|
||||
android:layout_marginTop="@dimen/dimen_10"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_time"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2018.11.05"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_number"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="200件"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_company"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="恒大多喜爱彩板"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12"
|
||||
android:layout_marginBottom="@dimen/dimen_11dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_agent"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="锋尚总库"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
86
app/src/main/res/layout/mine_messgae_item.xml
Normal file
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dimen_5"
|
||||
android:background="@drawable/shape_message_item_bg">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2018-09-01 4:00"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/dimen_10"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_15"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dimen_25"
|
||||
android:layout_height="@dimen/dimen_25"
|
||||
android:src="@mipmap/mine_message_remind"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_9dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:layout_marginTop="@dimen/dimen_3"
|
||||
android:text="派单通知!"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_11dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:text="您已被指定派单,单号:"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_ffc107"
|
||||
android:text="CK1710180001AX01"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_11dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:text="客户姓名:王晓峰。"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:text="请与第二天早上七点之前完成提货!"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
130
app/src/main/res/layout/mine_outbound_history_item.xml
Normal file
@@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="175dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/shape_message_item_bg">
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dimen_10"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_inbound_item_yellow"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="@dimen/dimen_11dp"
|
||||
android:layout_marginLeft="@dimen/dimen_14dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/outbound_num"
|
||||
android:textColor="@color/color_ffc107"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="RK1710180001AX01"
|
||||
android:textColor="@color/color_ffc107"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dimen_301dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/color_ffc107"
|
||||
android:layout_marginTop="@dimen/dimen_10"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_time"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2018.11.05"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_number"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="200件"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_company"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="恒大多喜爱彩板"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_12"
|
||||
android:layout_marginBottom="@dimen/dimen_11dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dimen_65dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inbound_agent"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="锋尚总库"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
72
app/src/main/res/layout/mobanfragment.xml
Normal file
@@ -0,0 +1,72 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:omi="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:background="#F5F5F5">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:background="#2680EB"
|
||||
>
|
||||
<RelativeLayout
|
||||
android:id="@+id/layTop_left_tv"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="21dp"
|
||||
android:layout_height="21dp"
|
||||
android:background="@mipmap/icon_back"
|
||||
android:textColor="#000000" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/layTop_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:text=""
|
||||
android:textColor="#ffffff"
|
||||
android:textSize="17sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:layout_marginRight="13dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<android.support.v4.widget.SwipeRefreshLayout
|
||||
android:id="@+id/srl"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/marking_fragment_recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F5F5F5" />
|
||||
|
||||
</android.support.v4.widget.SwipeRefreshLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
39
app/src/main/res/layout/title_layout.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_50"
|
||||
android:background="@color/color_131313">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="@dimen/dimen_15"
|
||||
android:layout_height="@dimen/dimen_15"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/dimen_15"
|
||||
android:textSize="@dimen/dimen_13"
|
||||
android:src="@mipmap/back"
|
||||
android:visibility="gone"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/dimen_13"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@color/colorWhite"/>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_search"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/dimen_13"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/dimen_15"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:src="@mipmap/mine_search"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
50
app/src/main/res/layout/title_top.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:background="#ffffff"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layTop_left_tv"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="21dp"
|
||||
android:layout_height="21dp"
|
||||
android:background="@mipmap/icon_back"
|
||||
android:textColor="#000000" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/layTop_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:text=""
|
||||
android:textColor="#000000"
|
||||
android:textSize="17sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="14sp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:layout_marginRight="13dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
56
app/src/main/res/layout/widget_item.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/view_item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorWhite"
|
||||
android:clickable="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/view_top_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/bg_gray"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="13dp"
|
||||
android:paddingRight="13dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_icon"
|
||||
android:layout_width="21dp"
|
||||
android:layout_height="21dp"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:layout_marginStart="13dp"
|
||||
android:text="@string/text_pay_for_friend"
|
||||
android:textColor="@color/colorTextDark"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/ic_arrow_right"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view_bottom_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/bg_gray"/>
|
||||
</LinearLayout>
|
||||
72
app/src/main/res/layout/widget_title_bar.xml
Normal file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/rl_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:background="@color/colorWhite"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_left_btn"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:scaleType="center"
|
||||
android:src="@mipmap/nav_back"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:maxLength="11"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="18sp"
|
||||
tools:text="标题"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_right_btn"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:scaleType="center"
|
||||
android:src="@mipmap/ic_camera"
|
||||
android:visibility="gone"/>
|
||||
<Button
|
||||
android:id="@+id/btn_red"
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/drawable_unread_bg"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_right_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:gravity="center"
|
||||
android:minWidth="60dp"
|
||||
android:text="@string/text_commit"
|
||||
android:textColor="@color/colorPink"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/v_bottom_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/colorSettingItemRipple"/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
61
app/src/main/res/layout/xikeinfo_head_view.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="220dp"
|
||||
android:background="@mipmap/activity_yue_bg">
|
||||
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="81dp"
|
||||
android:layout_height="19dp"
|
||||
android:text="当前余额(元):"
|
||||
android:textColor="#ffffffff"
|
||||
android:layout_marginLeft="40.5dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="125dp"
|
||||
android:layout_height="52dp"
|
||||
android:text="128.56"
|
||||
android:textColor="#ffffffff"
|
||||
android:layout_marginLeft="40.5dp"
|
||||
android:layout_marginTop="70dp"
|
||||
android:textSize="43sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="58dp"
|
||||
android:layout_height="29dp"
|
||||
android:gravity="center"
|
||||
android:text="提现"
|
||||
android:textColor="#ff2680eb"
|
||||
android:background="@drawable/shape_tixian_btn"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginLeft="300dp"
|
||||
android:layout_marginTop="90dp"
|
||||
/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@drawable/shape_rl_mingxi_btn"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="23dp"
|
||||
android:layout_marginTop="13dp"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:text="账户明细"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="17sp"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
57
app/src/main/res/layout/xikeinfo_item.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="74dp"
|
||||
android:background="#F5F5F5">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="74dp"
|
||||
android:background="@color/colorWhite"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/xike_tv_01"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:layout_marginTop="18dp"
|
||||
android:text="待成交客户成交"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/marking_13_sp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/xike_tv_02"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/xike_tv_01"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginLeft="13dp"
|
||||
android:text="2020/07/07 11:23:56"
|
||||
android:textColor="@color/color_838282"
|
||||
android:textSize="@dimen/marking_13_sp" />
|
||||
<TextView
|
||||
android:id="@+id/xike_tv_03"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="27dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="+3"
|
||||
android:layout_marginRight="13dp"
|
||||
android:textColor="#ff3a3a3a"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_below="@+id/xike_tv_02"
|
||||
android:layout_marginTop="7dp"
|
||||
android:background="@color/color_bfbfbf" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
BIN
app/src/main/res/mipmap-hdpi/fragment_my_bg.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_activity.png
Normal file
|
After Width: | Height: | Size: 869 B |
BIN
app/src/main/res/mipmap-hdpi/icon_balance.png
Normal file
|
After Width: | Height: | Size: 953 B |
BIN
app/src/main/res/mipmap-hdpi/icon_default_head.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_error.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_nodata.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_per_data.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_setting.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_version.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_vip_one.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_yinsi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-mdpi/fragment_my_bg.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_activity.png
Normal file
|
After Width: | Height: | Size: 572 B |
BIN
app/src/main/res/mipmap-mdpi/icon_balance.png
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
app/src/main/res/mipmap-mdpi/icon_default_head.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_error.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_nodata.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_per_data.png
Normal file
|
After Width: | Height: | Size: 705 B |
BIN
app/src/main/res/mipmap-mdpi/icon_setting.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_version.png
Normal file
|
After Width: | Height: | Size: 704 B |
BIN
app/src/main/res/mipmap-mdpi/icon_vip_one.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_yinsi.png
Normal file
|
After Width: | Height: | Size: 646 B |