增加共通图片查看器+手势解锁+拍照/相册选择图片裁剪示例
|
@ -203,6 +203,18 @@
|
|||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 共通图片查看器界面 -->
|
||||
<activity
|
||||
android:name="com.zftlive.android.library.common.picture.PictureViewerActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 引导界面 -->
|
||||
<activity
|
||||
android:name=".common.GuideActivity"
|
||||
|
@ -741,11 +753,11 @@
|
|||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 支付宝支付DEMO -->
|
||||
<!-- 音频控制示例DEMO -->
|
||||
<activity
|
||||
android:name=".sample.pay.AlipayDemoActivity"
|
||||
android:name=".sample.media.AudioManagerActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/AlipayDemoActivity"
|
||||
android:label="@string/AudioManagerActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
|
||||
<intent-filter>
|
||||
|
@ -755,7 +767,7 @@
|
|||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 九宫格手势锁示例 -->
|
||||
<!-- 九宫格解锁示例DEMO -->
|
||||
<activity
|
||||
android:name=".sample.gesture.Lock9DemoActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
|
@ -768,17 +780,53 @@
|
|||
<category android:name="com.zftlive.android.SAMPLE_CODE" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".sample.gesture.NormalActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".sample.gesture.LStyleActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/Lock9DemoActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".sample.gesture.NormalActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/Lock9DemoActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 图片缩放查看器示例DEMO -->
|
||||
<activity
|
||||
android:name=".sample.image.photoview.PictureViewerDemoActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/PictureViewerActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="com.zftlive.android.SAMPLE_CODE" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 拍照/相册选择示例DEMO -->
|
||||
<activity
|
||||
android:name=".sample.image.CamreaPictureDemoActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/CamreaPictureDemoActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="com.zftlive.android.SAMPLE_CODE" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 静态注册短信广播接收器 -->
|
||||
|
@ -901,9 +949,11 @@
|
|||
android:windowSoftInputMode="stateHidden|adjustResize" >
|
||||
|
||||
<!--
|
||||
AuthorizeAdapter表示一个继承自cn.sharesdk.framework.authorize.AuthorizeAdapter
|
||||
的类,这个类可以监听到页面的生命周期,也可以获取授权页面的各种UI控件。
|
||||
开发者可以通过继承AuthorizeAdapter,重写其方法,并获取各种UI来自定义这个页面的行为。
|
||||
AuthorizeAdapter表示一个继承自cn.sharesdk.framework.authorize.AuthorizeAdapter
|
||||
的类,这个类可以监听到页面的生命周期,也可以获取授权页面的各种UI控件。
|
||||
开发者可以通过继承AuthorizeAdapter,重写其方法,并获取各种UI来自定义这个页面的行为。
|
||||
|
||||
|
||||
-->
|
||||
<meta-data
|
||||
android:name="AuthorizeAdapter"
|
||||
|
@ -912,17 +962,21 @@
|
|||
android:name="QZoneWebShareAdapter"
|
||||
android:value="com.zftlive.android.library.common.onekeyshare.MyQZoneWebShareAdapter" />
|
||||
<!--
|
||||
QZoneWebShareAdapter表示一个继承自cn.sharesdk.tencent.qzone.QZoneWebShareAdapter
|
||||
的类,这个类可以监听到页面的生命周期,也可以获QQ空间网页分享权页面的各种UI控件。
|
||||
开发者可以通过继承QZoneWebShareAdapter,重写其方法,并获取各种UI来自定义这个页面的行为。
|
||||
QZoneWebShareAdapter表示一个继承自cn.sharesdk.tencent.qzone.QZoneWebShareAdapter
|
||||
的类,这个类可以监听到页面的生命周期,也可以获QQ空间网页分享权页面的各种UI控件。
|
||||
开发者可以通过继承QZoneWebShareAdapter,重写其方法,并获取各种UI来自定义这个页面的行为。
|
||||
|
||||
<meta-data android:name="QQWebShareAdapter" android:value="cn.sharesdk.demo.MyQQWebShareAdapter" />
|
||||
<meta-data android:name="QQWebShareAdapter" android:value="cn.sharesdk.demo.MyQQWebShareAdapter" />
|
||||
|
||||
|
||||
-->
|
||||
|
||||
|
||||
<!--
|
||||
Dropbox的SSO功能需要在此处添加一个对ACTION_VIEW事件的过滤器,其中的scheme是
|
||||
“db-”前缀再开发者应用的加上appKey。如果此过滤器不设置,则不能完成SSO功能授权
|
||||
Dropbox的SSO功能需要在此处添加一个对ACTION_VIEW事件的过滤器,其中的scheme是
|
||||
“db-”前缀再开发者应用的加上appKey。如果此过滤器不设置,则不能完成SSO功能授权
|
||||
|
||||
|
||||
-->
|
||||
<intent-filter>
|
||||
<data android:scheme="db-7janx53ilz11gbs" />
|
||||
|
@ -934,9 +988,11 @@
|
|||
</intent-filter>
|
||||
|
||||
<!--
|
||||
如果集成QQ分享,或者使用QQ客户端来进行QQ空间的分享,须要在此处添加一个对ACTION_VIEW
|
||||
事件的过滤器,其中的scheme是“tencent”前缀再开发者应用的加上appId。如果此过滤器不设置,
|
||||
则分享结束以后不能得到正确的回调
|
||||
如果集成QQ分享,或者使用QQ客户端来进行QQ空间的分享,须要在此处添加一个对ACTION_VIEW
|
||||
事件的过滤器,其中的scheme是“tencent”前缀再开发者应用的加上appId。如果此过滤器不设置,
|
||||
则分享结束以后不能得到正确的回调
|
||||
|
||||
|
||||
-->
|
||||
<intent-filter>
|
||||
<data android:scheme="tencent100371282" />
|
||||
|
@ -983,20 +1039,13 @@
|
|||
<!-- 百度基础地图+定位+LBS(结束) -->
|
||||
|
||||
|
||||
<!-- alipay sdk begin -->
|
||||
<activity
|
||||
android:name="com.alipay.sdk.app.H5PayActivity"
|
||||
android:configChanges="orientation|keyboardHidden|navigation"
|
||||
android:exported="false"
|
||||
android:screenOrientation="behind" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.alipay.sdk.auth.AuthActivity"
|
||||
android:configChanges="orientation|keyboardHidden|navigation"
|
||||
android:exported="false"
|
||||
android:screenOrientation="behind" >
|
||||
</activity>
|
||||
<!-- alipay sdk end -->
|
||||
<!-- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> -->
|
||||
<!-- <receiver android:name="com.zftlive.android.sample.media.BootBroadcastReceiver"> -->
|
||||
<!-- <intent-filter> -->
|
||||
<!-- <action android:name="android.intent.action.BOOT_COMPLETED"></action> -->
|
||||
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
|
||||
<!-- </intent-filter> -->
|
||||
<!-- </receiver> -->
|
||||
|
||||
</application>
|
||||
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
- 共通机能-消息推送
|
||||
- 共通机能-MTA埋点/异常崩溃监控
|
||||
- 共通机能-全程网络状态监听Service
|
||||
- 共通机能-手势解锁
|
||||
- 共通机能-可缩放图片查看器(支持项目工程assets/drawable/sd卡/网络类型的图片)
|
||||
- 样例-ActionBar标题栏
|
||||
- 样例-底部弹出泡泡菜单
|
||||
- 样例-Achartengine带泡泡提示的曲线图
|
||||
|
@ -75,6 +77,10 @@
|
|||
- 样例-dialog各种特效DEMO
|
||||
- 样例-带数字的进度条
|
||||
- 样例-百度地图定位演示
|
||||
- 样例-控制系统音量
|
||||
- 样例-九宫格解锁
|
||||
- 样例-图片缩放查看器
|
||||
- 样例-拍照/相册选择+裁剪图片
|
||||
- 未完/待续,敬请关注...
|
||||
|
||||
#封装工具类
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:fromYDelta="25"
|
||||
android:toYDelta="100%p"
|
||||
android:duration="2000"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
/>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:fromYDelta="25"
|
||||
android:toYDelta="100%p"
|
||||
android:duration="2000"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
/>
|
||||
|
||||
</set>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- android:duration="@android:integer/config_mediumAnimTime" -->
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="0" android:duration="2000"/>
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="0" android:duration="300"/>
|
||||
<!-- 透明度控制动画效果 alpha
|
||||
浮点型值:
|
||||
fromAlpha 属性为动画起始时透明度
|
||||
|
|
|
@ -18,4 +18,4 @@
|
|||
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:fromAlpha="0.0" android:toAlpha="1.0"
|
||||
android:duration="2000" />
|
||||
android:duration="300" />
|
||||
|
|
|
@ -18,4 +18,4 @@
|
|||
<translate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:fromXDelta="0" android:toXDelta="0"
|
||||
android:duration="2000" />
|
||||
android:duration="300" />
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="100%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
</set>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:toYDelta="100%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
</set>
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -14,7 +15,16 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromYDelta="100%p" android:toYDelta="0" android:duration="2000"/>
|
||||
<alpha android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="2000" />
|
||||
</set>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="300"
|
||||
android:fromYDelta="100%p"
|
||||
android:toYDelta="0" />
|
||||
|
||||
<alpha
|
||||
android:duration="300"
|
||||
android:fromAlpha="0.0"
|
||||
android:toAlpha="1.0" />
|
||||
|
||||
</set>
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -14,7 +15,16 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromYDelta="0" android:toYDelta="-100%p" android:duration="2000"/>
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="2000" />
|
||||
</set>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="300"
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="-100%p" />
|
||||
|
||||
<alpha
|
||||
android:duration="300"
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.0" />
|
||||
|
||||
</set>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromXDelta="-100%" android:toXDelta="0"
|
||||
android:duration="300" />
|
||||
</set>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromXDelta="0" android:toXDelta="-100%"
|
||||
android:duration="300" />
|
||||
</set>
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -11,7 +12,11 @@
|
|||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="2000" android:startOffset="1200" />
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="2000"
|
||||
android:fromAlpha="0.0"
|
||||
android:startOffset="1200"
|
||||
android:toAlpha="1.0" />
|
||||
|
|
|
@ -1,26 +1,47 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project Licensed under the
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project Licensed under the
|
||||
Apache License, Version 2.0 (the "License"); you may not use this file except
|
||||
in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software distributed
|
||||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
|
||||
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
|
||||
the specific language governing permissions and limitations under the License. -->
|
||||
the specific language governing permissions and limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<scale android:interpolator="@android:anim/accelerate_decelerate_interpolator"
|
||||
android:fromXScale="1.0" android:toXScale="1.4" android:fromYScale="1.0"
|
||||
android:toYScale="0.6" android:pivotX="50%" android:pivotY="50%"
|
||||
android:fillAfter="false" android:duration="2000" />
|
||||
<set android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:startOffset="700">
|
||||
<scale android:fromXScale="1.4" android:toXScale="0.0"
|
||||
android:fromYScale="0.6" android:toYScale="0.0" android:pivotX="50%"
|
||||
android:pivotY="50%" android:duration="2000" />
|
||||
<rotate android:fromDegrees="0" android:toDegrees="-45"
|
||||
android:toYScale="0.0" android:pivotX="50%" android:pivotY="50%"
|
||||
android:duration="2000" />
|
||||
</set>
|
||||
</set>
|
||||
android:shareInterpolator="false" >
|
||||
|
||||
<scale
|
||||
android:duration="2000"
|
||||
android:fillAfter="false"
|
||||
android:fromXScale="1.0"
|
||||
android:fromYScale="1.0"
|
||||
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:toXScale="1.4"
|
||||
android:toYScale="0.6" />
|
||||
|
||||
<set
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:startOffset="700" >
|
||||
<scale
|
||||
android:duration="2000"
|
||||
android:fromXScale="1.4"
|
||||
android:fromYScale="0.6"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:toXScale="0.0"
|
||||
android:toYScale="0.0" />
|
||||
|
||||
<rotate
|
||||
android:duration="2000"
|
||||
android:fromDegrees="0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:toDegrees="-45"
|
||||
android:toYScale="0.0" />
|
||||
</set>
|
||||
|
||||
</set>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<translate
|
||||
android:fromYDelta="100%p"
|
||||
android:toYDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
<alpha
|
||||
android:fromAlpha="0.7"
|
||||
android:toAlpha="1.0"
|
||||
android:duration="300"
|
||||
/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<translate
|
||||
android:fromYDelta="100%p"
|
||||
android:toYDelta="0"
|
||||
android:duration="500"
|
||||
/>
|
||||
<alpha
|
||||
android:fromAlpha="0.7"
|
||||
android:toAlpha="1.0"
|
||||
android:duration="300"
|
||||
/>
|
||||
</set>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<translate
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="100%p"
|
||||
android:duration="3000"
|
||||
/>
|
||||
<alpha
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.5"
|
||||
android:duration="2000"
|
||||
/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<translate
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="100%p"
|
||||
android:duration="3000"
|
||||
/>
|
||||
<alpha
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.5"
|
||||
android:duration="2000"
|
||||
/>
|
||||
</set>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<set android:interpolator="@android:anim/accelerate_interpolator"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:duration="2000"
|
||||
android:fromYDelta="0.0" android:toYDelta="100.0%p" />
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<set android:interpolator="@android:anim/accelerate_interpolator"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:duration="2000"
|
||||
android:fromYDelta="0.0" android:toYDelta="100.0%p" />
|
||||
</set>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<set android:interpolator="@android:anim/decelerate_interpolator"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:duration="2000"
|
||||
android:fromYDelta="100.0%p" android:toYDelta="0.0" />
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<set android:interpolator="@android:anim/decelerate_interpolator"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:duration="2000"
|
||||
android:fromYDelta="100.0%p" android:toYDelta="0.0" />
|
||||
</set>
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="20%p"
|
||||
android:toYDelta="0%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="20%p"
|
||||
android:toYDelta="0%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
</set>
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="0%p"
|
||||
android:toYDelta="20%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="0%p"
|
||||
android:toYDelta="20%p"
|
||||
android:duration="300"
|
||||
/>
|
||||
</set>
|
|
@ -1,26 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp" />
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:endColor="#7f000000"
|
||||
android:startColor="#7f000000" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="12dp"
|
||||
android:bottomRightRadius="12dp"
|
||||
android:topLeftRadius="12dp"
|
||||
android:topRightRadius="12dp" />
|
||||
|
||||
<stroke
|
||||
android:width="4dip"
|
||||
android:color="#ff7f7f7f" />
|
||||
|
||||
</shape>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp" />
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:endColor="#7f000000"
|
||||
android:startColor="#7f000000" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="12dp"
|
||||
android:bottomRightRadius="12dp"
|
||||
android:topLeftRadius="12dp"
|
||||
android:topRightRadius="12dp" />
|
||||
|
||||
<stroke
|
||||
android:width="4dip"
|
||||
android:color="#ff7f7f7f" />
|
||||
|
||||
</shape>
|
||||
|
|
After Width: | Height: | Size: 137 B |
After Width: | Height: | Size: 148 B |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.3 KiB |
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<solid android:color="#7f0099cc"/>
|
||||
</shape>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<solid android:color="#7f0099cc"/>
|
||||
</shape>
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
<!-- 渐变 -->
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- 描边 -->
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
|
||||
<!-- 实心 -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
|
||||
<!-- 圆角 -->
|
||||
<corners
|
||||
android:bottomRightRadius="4dip"
|
||||
android:bottomLeftRadius="4dip"
|
||||
android:topLeftRadius="4dip"
|
||||
android:topRightRadius="4dip"
|
||||
/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
<!-- 渐变 -->
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- 描边 -->
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
|
||||
<!-- 实心 -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
|
||||
<!-- 圆角 -->
|
||||
<corners
|
||||
android:bottomRightRadius="4dip"
|
||||
android:bottomLeftRadius="4dip"
|
||||
android:topLeftRadius="4dip"
|
||||
android:topRightRadius="4dip"
|
||||
/>
|
||||
</shape>
|
|
@ -1,23 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
<corners
|
||||
android:bottomRightRadius="4dip"
|
||||
android:bottomLeftRadius="4dip"
|
||||
|
||||
/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
<corners
|
||||
android:bottomRightRadius="4dip"
|
||||
android:bottomLeftRadius="4dip"
|
||||
|
||||
/>
|
||||
</shape>
|
|
@ -1,23 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
<!-- <corners
|
||||
android:bottomRightRadius="4dip"
|
||||
android:bottomLeftRadius="4dip"
|
||||
|
||||
/> -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
<!-- <corners
|
||||
android:bottomRightRadius="4dip"
|
||||
android:bottomLeftRadius="4dip"
|
||||
|
||||
/> -->
|
||||
</shape>
|
|
@ -1,23 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
<corners
|
||||
android:topLeftRadius="4dip"
|
||||
android:topRightRadius="4dip"
|
||||
|
||||
/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
|
||||
<gradient
|
||||
android:startColor="#B5E7B8"
|
||||
android:endColor="#76D37B"
|
||||
android:angle="270"
|
||||
/>
|
||||
|
||||
<!-- <stroke android:width="1dip"
|
||||
android:color="@color/blue"
|
||||
/> -->
|
||||
<!-- <solid android:color="#FFeaeaea"
|
||||
/> -->
|
||||
<corners
|
||||
android:topLeftRadius="4dip"
|
||||
android:topRightRadius="4dip"
|
||||
|
||||
/>
|
||||
</shape>
|
|
@ -1,16 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<solid android:color="#ffffffff" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="4dp"
|
||||
android:bottomRightRadius="4dp"
|
||||
android:topLeftRadius="4dp"
|
||||
android:topRightRadius="4dp" />
|
||||
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#ffc9c9cb" />
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<solid android:color="#ffffffff" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="4dp"
|
||||
android:bottomRightRadius="4dp"
|
||||
android:topLeftRadius="4dp"
|
||||
android:topRightRadius="4dp" />
|
||||
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#ffc9c9cb" />
|
||||
|
||||
</shape>
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏黑色[返回]按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/common_nav_back_black_n" android:state_focused="true" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_n" android:state_focused="false" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_p" android:state_enabled="false"/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏黑色[返回]按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/common_nav_back_black_n" android:state_focused="true" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_n" android:state_focused="false" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_black_p" android:state_enabled="false"/>
|
||||
</selector>
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏白色[返回]按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/common_nav_back_white_n" android:state_focused="true" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_n" android:state_focused="false" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_p" android:state_enabled="false"/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏白色[返回]按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/common_nav_back_white_n" android:state_focused="true" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_n" android:state_focused="false" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_back_white_p" android:state_enabled="false"/>
|
||||
</selector>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-tab[黑色-蓝色]字体颜色变化选择器(nomal+pressed+checked/selected) -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:color="@color/blue_359df5" android:state_pressed="true"/>
|
||||
<item android:color="@color/blue_359df5" android:state_checked="true"/>
|
||||
<item android:color="@color/blue_359df5" android:state_selected="true"/>
|
||||
<item android:color="@color/deepgray"></item>
|
||||
|
||||
</selector>
|
|
@ -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="@drawable/common_tab_brackgroud_p"/>
|
||||
<item android:state_checked="false" android:drawable="@drawable/common_tab_brackgroud_n"/>
|
||||
</selector>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-蓝色按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-蓝色按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
</selector>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
<item android:state_enabled="false" android:drawable="@drawable/shape_common_blue_btn_p"/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_blue_btn_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_blue_btn_p" />
|
||||
<item android:state_enabled="false" android:drawable="@drawable/shape_common_blue_btn_p"/>
|
||||
</selector>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="false" android:drawable="@color/transparent" />
|
||||
<item android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="false" android:drawable="@color/transparent" />
|
||||
<item android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
</selector>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
</selector>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_btn_white_bold_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_btn_grally_bold_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_btn_white_bold_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_btn_grally_bold_p" />
|
||||
<item android:drawable="@drawable/shape_common_btn_white_bold_n" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_btn_white_bold_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_btn_grally_bold_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_btn_white_bold_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_btn_grally_bold_p" />
|
||||
<item android:drawable="@drawable/shape_common_btn_white_bold_n" />
|
||||
</selector>
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@color/white" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@color/white" />
|
||||
<item android:state_pressed="true" android:drawable="@color/grally_f4f4f4" />
|
||||
<item android:drawable="@color/white" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-item点击变色选择器(nomal+pressed+checked/selected) -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@color/grally_f2f2f2" android:state_focused="true"/>
|
||||
<item android:drawable="@color/grally_f2f2f2" android:state_pressed="true"/>
|
||||
<!-- <item android:drawable="@color/grally_f2f2f2" android:state_checked="true"/> -->
|
||||
<!-- <item android:drawable="@color/grally_f2f2f2" android:state_selected="true"/> -->
|
||||
<item android:drawable="@color/white"></item>
|
||||
|
||||
</selector>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[黑色]收藏按钮选择器(nomal+pressed+checked/selected) -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_fav_black_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_selected="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_black_n"></item>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[黑色]收藏按钮选择器(nomal+pressed+checked/selected) -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_fav_black_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_selected="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_black_n"></item>
|
||||
|
||||
</selector>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[白色]收藏按钮选择器(nomal+pressed+checked/selected) -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_fav_white_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_selected="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_white_n"></item>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[白色]收藏按钮选择器(nomal+pressed+checked/selected) -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_fav_white_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_blue_c" android:state_selected="true"/>
|
||||
<item android:drawable="@drawable/common_nav_fav_white_n"></item>
|
||||
|
||||
</selector>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-灰色[x]关闭按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_close_grally_p" android:state_pressed="true"/>
|
||||
<!-- <item android:drawable="@drawable/common_nav_fav_blue_c" android:state_checked="true"/> -->
|
||||
<!-- <item android:drawable="@drawable/common_nav_fav_blue_c" android:state_selected="true"/> -->
|
||||
<item android:drawable="@drawable/common_nav_close_grally_n"></item>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-灰色[x]关闭按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_close_grally_p" android:state_pressed="true"/>
|
||||
<!-- <item android:drawable="@drawable/common_nav_fav_blue_c" android:state_checked="true"/> -->
|
||||
<!-- <item android:drawable="@drawable/common_nav_fav_blue_c" android:state_selected="true"/> -->
|
||||
<item android:drawable="@drawable/common_nav_close_grally_n"></item>
|
||||
|
||||
</selector>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 图片点击变色选择器[普通50%透明度]+[按下70%透明度] -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/grid_item_alpha_n" android:state_focused="true" android:state_pressed="false"/>
|
||||
<item android:drawable="@color/grid_item_alpha_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<item android:drawable="@color/grid_item_alpha_n" android:state_focused="false" android:state_pressed="false"/>
|
||||
<item android:drawable="@color/grid_item_alpha_p" android:state_pressed="true"/>
|
||||
</selector>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[黑色]分享按钮选择器(nomal+pressed+checked/selected),分享暂时不需要选中状态,默认和常态一样 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_share_black_p" android:state_pressed="true"/>
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_black_p" android:state_checked="true"/> -->
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_black_p" android:state_selected="true"/> -->
|
||||
<item android:drawable="@drawable/common_nav_share_black_n"></item>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[黑色]分享按钮选择器(nomal+pressed+checked/selected),分享暂时不需要选中状态,默认和常态一样 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_share_black_p" android:state_pressed="true"/>
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_black_p" android:state_checked="true"/> -->
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_black_p" android:state_selected="true"/> -->
|
||||
<item android:drawable="@drawable/common_nav_share_black_n"></item>
|
||||
|
||||
</selector>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[白色]分享按钮选择器(nomal+pressed+checked/selected),分享暂时不需要选中状态,默认和常态一样 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_share_white_p" android:state_pressed="true"/>
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_white_p" android:state_checked="true"/> -->
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_white_p" android:state_selected="true"/> -->
|
||||
<item android:drawable="@drawable/common_nav_share_white_n"></item>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-标题栏[白色]分享按钮选择器(nomal+pressed+checked/selected),分享暂时不需要选中状态,默认和常态一样 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/common_nav_share_white_p" android:state_pressed="true"/>
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_white_p" android:state_checked="true"/> -->
|
||||
<!-- <item android:drawable="@drawable/common_nav_share_white_p" android:state_selected="true"/> -->
|
||||
<item android:drawable="@drawable/common_nav_share_white_n"></item>
|
||||
|
||||
</selector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/view_spinner_droplist_down" />
|
||||
<item android:state_focused="true" android:drawable="@drawable/view_spinner_droplist_focus" />
|
||||
<item android:drawable="@drawable/view_spinner_droplist" />
|
||||
</selector>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-按下背景5%透明度按钮选择器 [按下]+[普通]状态-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/black_05_alpha" android:state_pressed="true"/>
|
||||
<item android:drawable="@color/transparent" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 共通机能-按下背景5%透明度按钮选择器 [按下]+[普通]状态-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/black_05_alpha" android:state_pressed="true"/>
|
||||
<item android:drawable="@color/transparent" />
|
||||
</selector>
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- webview标题栏白色[返回]按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/nav_back_btn_white_n" android:state_focused="true" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_n" android:state_focused="false" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_p" android:state_enabled="false"/>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- webview标题栏白色[返回]按钮选择器 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/nav_back_btn_white_n" android:state_focused="true" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_n" android:state_focused="false" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_p" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/nav_back_btn_white_p" android:state_enabled="false"/>
|
||||
</selector>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_p" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_p" />
|
||||
</selector>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_nobold_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_nobold_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_nobold_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_nobold_p" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_nobold_n" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_nobold_p" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/shape_common_white_btn_nobold_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_common_white_btn_nobold_p" />
|
||||
</selector>
|
|
@ -1,15 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- 没有焦点时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_n" android:state_window_focused="false"/>
|
||||
<!-- 非触摸模式下获得焦点并单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<!-- 触摸模式下单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="false" android:state_pressed="true"/>
|
||||
<!-- 选中时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_selected="true"/>
|
||||
<!-- 获得焦点时的背景 颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true"/>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- 没有焦点时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_n" android:state_window_focused="false"/>
|
||||
<!-- 非触摸模式下获得焦点并单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<!-- 触摸模式下单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="false" android:state_pressed="true"/>
|
||||
<!-- 选中时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_selected="true"/>
|
||||
<!-- 获得焦点时的背景 颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true"/>
|
||||
|
||||
</selector>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@color/black_alpha" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:drawable="@color/black_alpha" />
|
||||
</selector>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@color/black_alpha" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:drawable="@color/black_alpha" />
|
||||
</selector>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- 没有焦点时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_n" android:state_window_focused="false"/>
|
||||
<!-- 非触摸模式下获得焦点并单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<!-- 触摸模式下单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="false" android:state_pressed="true"/>
|
||||
<!-- 选中时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_selected="true"/>
|
||||
<!-- 获得焦点时的背景 颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true"/>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- 没有焦点时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_n" android:state_window_focused="false"/>
|
||||
<!-- 非触摸模式下获得焦点并单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true" android:state_pressed="true"/>
|
||||
<!-- 触摸模式下单击时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="false" android:state_pressed="true"/>
|
||||
<!-- 选中时的背景颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_selected="true"/>
|
||||
<!-- 获得焦点时的背景 颜色 -->
|
||||
<item android:drawable="@drawable/list_p" android:state_focused="true"/>
|
||||
|
||||
</selector>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/fav_go_nomal" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/fav_go_pressed" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/fav_go_nomal" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/fav_go_pressed" />
|
||||
</selector>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/fav_go_nomal" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/fav_go_pressed" />
|
||||
<item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/fav_go_nomal" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/fav_go_pressed" />
|
||||
</selector>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<solid android:color="#7f0099cc"/>
|
||||
</shape>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<solid android:color="#7f0099cc"/>
|
||||
</shape>
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#359df5" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#359df5" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#359df5" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#359df5" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#2c89d7" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#2c89d7" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#2c89d7" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#2c89d7" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#f4f4f4" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#f4f4f4" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ffffff" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ffffff" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#f4f4f4" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<!-- <stroke -->
|
||||
<!-- android:width="0.33dp" -->
|
||||
<!-- android:color="#dddddd" /> -->
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ffffff" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ffffff" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ffffff" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<!-- <stroke -->
|
||||
<!-- android:width="0.33dp" -->
|
||||
<!-- android:color="#dddddd" /> -->
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ffffff" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<!-- <stroke -->
|
||||
<!-- android:width="0.33dp" -->
|
||||
<!-- android:color="#dddddd" /> -->
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#f4f4f4" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<!-- <stroke -->
|
||||
<!-- android:width="0.33dp" -->
|
||||
<!-- android:color="#dddddd" /> -->
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#f4f4f4" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<!-- <stroke -->
|
||||
<!-- android:width="0.33dp" -->
|
||||
<!-- android:color="#dddddd" /> -->
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#f4f4f4" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#f4f4f4" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="0.33dp"
|
||||
android:color="#dddddd" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#cccccc" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#cccccc" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#cccccc" />
|
||||
|
||||
<!-- stroke的表示描边 -->
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#cccccc" />
|
||||
|
||||
<!-- <corners android:radius="5dp" /> -->
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/view_checkbox_pressed" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/view_checkbox_normal" android:state_checked="false"/>
|
||||
<item android:drawable="@drawable/view_checkbox_normal"/>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/view_checkbox_pressed" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/view_checkbox_normal" android:state_checked="false"/>
|
||||
<item android:drawable="@drawable/view_checkbox_normal"/>
|
||||
|
||||
</selector>
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:id="@android:id/background"
|
||||
android:drawable="@drawable/view_progress_bar_bg">
|
||||
</item>
|
||||
<item
|
||||
android:id="@android:id/progress"
|
||||
android:drawable="@drawable/view_progress_bar_progress"/>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:id="@android:id/background"
|
||||
android:drawable="@drawable/view_progress_bar_bg">
|
||||
</item>
|
||||
<item
|
||||
android:id="@android:id/progress"
|
||||
android:drawable="@drawable/view_progress_bar_progress"/>
|
||||
|
||||
</layer-list>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
</shape>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="0"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="0"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
</shape>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="180"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="180"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
</shape>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="@color/shadow_end"
|
||||
android:startColor="@color/shadow_start" />
|
||||
|
||||
</shape>
|
|
@ -1,18 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ff141414" />
|
||||
|
||||
<!-- stroke的表示描边-->
|
||||
<stroke android:width="1dp" android:color="#949494" />
|
||||
|
||||
<corners android:radius="3dp" />
|
||||
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- solid的表示填充颜色 -->
|
||||
<solid android:color="#ff141414" />
|
||||
|
||||
<!-- stroke的表示描边-->
|
||||
<stroke android:width="1dp" android:color="#949494" />
|
||||
|
||||
<corners android:radius="3dp" />
|
||||
|
||||
<!-- corners则是表示圆角,bottomRightRadius是左下角而不是右下角,bottomLeftRadius右下角 -->
|
||||
<!-- <corners android:topLeftRadius="5dp" -->
|
||||
<!-- android:topRightRadius="5dp" -->
|
||||
<!-- android:bottomRightRadius="5dp" -->
|
||||
<!-- android:bottomLeftRadius="5dp"/> -->
|
||||
|
||||
</shape>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<animated-rotate
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawable="@drawable/view_progress_loading"
|
||||
android:fromDegrees="0"
|
||||
android:pivotX="50.0%"
|
||||
android:pivotY="50.0%"
|
||||
android:toDegrees="360" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<animated-rotate
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawable="@drawable/view_progress_loading"
|
||||
android:fromDegrees="0"
|
||||
android:pivotX="50.0%"
|
||||
android:pivotY="50.0%"
|
||||
android:toDegrees="360" />
|
||||
|
|
|
@ -1,39 +1,39 @@
|
|||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<corners android:radius="5dip" />
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:endColor="#F5F5F5"
|
||||
android:startColor="#BEBEBE" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip>
|
||||
<shape>
|
||||
<corners android:radius="0dip" />
|
||||
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:endColor="#165CBC"
|
||||
android:startColor="#85B0E9" />
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape>
|
||||
<corners android:radius="5dip" />
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:endColor="#165CBC"
|
||||
android:startColor="#85B0E9" />
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<corners android:radius="5dip" />
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:endColor="#F5F5F5"
|
||||
android:startColor="#BEBEBE" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip>
|
||||
<shape>
|
||||
<corners android:radius="0dip" />
|
||||
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:endColor="#165CBC"
|
||||
android:startColor="#85B0E9" />
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape>
|
||||
<corners android:radius="5dip" />
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:endColor="#165CBC"
|
||||
android:startColor="#85B0E9" />
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
</layer-list>
|
|
@ -1,20 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:toDegrees="360" >
|
||||
<shape
|
||||
android:innerRadiusRatio="3"
|
||||
android:shape="ring"
|
||||
android:thicknessRatio="8"
|
||||
android:useLevel="false" >
|
||||
<gradient
|
||||
android:centerColor="#FFFFFF"
|
||||
android:centerY="0.50"
|
||||
android:endColor="#1E90FF"
|
||||
android:startColor="#000000"
|
||||
android:type="sweep"
|
||||
android:useLevel="false" />
|
||||
</shape>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:toDegrees="360" >
|
||||
<shape
|
||||
android:innerRadiusRatio="3"
|
||||
android:shape="ring"
|
||||
android:thicknessRatio="8"
|
||||
android:useLevel="false" >
|
||||
<gradient
|
||||
android:centerColor="#FFFFFF"
|
||||
android:centerY="0.50"
|
||||
android:endColor="#1E90FF"
|
||||
android:startColor="#000000"
|
||||
android:type="sweep"
|
||||
android:useLevel="false" />
|
||||
</shape>
|
||||
</rotate>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="true" android:drawable="@drawable/key_selected_color" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/key_selected_color" />
|
||||
<item android:drawable="@drawable/key_normal_color" />
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="true" android:drawable="@drawable/key_selected_color" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/key_selected_color" />
|
||||
<item android:drawable="@drawable/key_normal_color" />
|
||||
</selector>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/opkey_selected_color" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/opkey_selected_color" />
|
||||
<item android:drawable="@drawable/key_normal_color" />
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/opkey_selected_color" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/opkey_selected_color" />
|
||||
<item android:drawable="@drawable/key_normal_color" />
|
||||
</selector>
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
style="?android:attr/spinnerDropDownItemStyle"
|
||||
android:singleLine="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="#000"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
style="?android:attr/spinnerDropDownItemStyle"
|
||||
android:singleLine="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="#000"
|
||||
android:textSize="14sp"/>
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
style="?android:attr/spinnerDropDownItemStyle"
|
||||
android:singleLine="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||
android:ellipsize="marquee"
|
||||
android:textColor="#fff"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
style="?android:attr/spinnerDropDownItemStyle"
|
||||
android:singleLine="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||
android:ellipsize="marquee"
|
||||
android:textColor="#fff"
|
||||
android:background="#000"/>
|
|
@ -0,0 +1,165 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 音量控制示例DEMO -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/common_bg_color"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<!-- 系统音量 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="left|center_vertical"
|
||||
android:paddingLeft="5dp"
|
||||
android:text="系统音量:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/sysSound"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:max="7"
|
||||
android:progress="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 铃声音量 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="left|center_vertical"
|
||||
android:paddingLeft="5dp"
|
||||
android:text="铃声音量:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/ringerSound"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:max="7"
|
||||
android:progress="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 通知音量 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="left|center_vertical"
|
||||
android:paddingLeft="5dp"
|
||||
android:text="通知音量:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/notifySound"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:max="7"
|
||||
android:progress="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 媒体音量 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="left|center_vertical"
|
||||
android:paddingLeft="5dp"
|
||||
android:text="媒体音量:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/mediaSound"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:max="7"
|
||||
android:progress="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 闹铃音量 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="left|center_vertical"
|
||||
android:paddingLeft="5dp"
|
||||
android:text="闹铃音量:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/alarmSound"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:max="7"
|
||||
android:progress="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 通话音量 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="left|center_vertical"
|
||||
android:paddingLeft="5dp"
|
||||
android:text="通话音量:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/callSound"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:max="7"
|
||||
android:progress="1" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -1,223 +1,223 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/frame_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
tools:context=".sample.data.AutoGainFormActivity" >
|
||||
|
||||
<!-- 账号 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_account"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_account"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_username"
|
||||
style="@style/accountEditText"
|
||||
android:hint="@string/et_account_hint"
|
||||
android:tag="username" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 密码 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_password"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_account"
|
||||
android:layout_marginTop="15dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_password"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_password"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_password"
|
||||
style="@style/accountEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/et_password_hint"
|
||||
android:inputType="textPassword"
|
||||
android:tag="password" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_view_password"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/lawngreen"
|
||||
android:text="@string/btn_show"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 毕业院校 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_school"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_password"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_school"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_school"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<com.zftlive.android.library.widget.SingleSpinner
|
||||
android:id="@+id/sp_school"
|
||||
style="@style/accountEditText"
|
||||
custom:key="school" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 性别 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_sex"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_school"
|
||||
android:layout_marginTop="18dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sex"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/rg_sex"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/radioGroup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<com.zftlive.android.library.widget.RadioButton
|
||||
android:id="@+id/radioMale"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:checked="true"
|
||||
android:text="@string/sex_male"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="sex"
|
||||
custom:value="male" />
|
||||
|
||||
<com.zftlive.android.library.widget.RadioButton
|
||||
android:id="@+id/radioFemale"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:checked="false"
|
||||
android:text="@string/sex_female"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="sex"
|
||||
custom:value="female" />
|
||||
</RadioGroup>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 兴趣爱好 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_hoby"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_sex"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hoby"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_hoby"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<com.zftlive.android.library.widget.CheckBox
|
||||
android:id="@+id/cb_sleep"
|
||||
style="@style/CustomCheckboxTheme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="1dp"
|
||||
android:text="@string/hoby_sleep"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="hoby"
|
||||
custom:value="sleep" />
|
||||
|
||||
<com.zftlive.android.library.widget.CheckBox
|
||||
android:id="@+id/cb_boll"
|
||||
style="@style/CustomCheckboxTheme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="1dp"
|
||||
android:text="@string/hoby_boll"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="hoby"
|
||||
custom:value="boll" />
|
||||
|
||||
<com.zftlive.android.library.widget.CheckBox
|
||||
android:id="@+id/cb_read"
|
||||
style="@style/CustomCheckboxTheme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="1dp"
|
||||
android:text="@string/hoby_read"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="hoby"
|
||||
custom:value="read" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 账号 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_remark"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_hoby"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_remark"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/remark"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_remark"
|
||||
style="@style/accountEditText"
|
||||
android:hint="@string/hint_remark"
|
||||
android:tag="remark" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 提交表单 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/ll_remark"
|
||||
android:layout_marginLeft="18dp"
|
||||
android:layout_marginRight="18dp"
|
||||
android:layout_marginTop="13dp" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_login"
|
||||
style="@style/accountButtonStyle"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:background="@color/orange"
|
||||
android:text="@string/btn_auto_gaindata" />
|
||||
</LinearLayout>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/frame_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
tools:context=".sample.data.AutoGainFormActivity" >
|
||||
|
||||
<!-- 账号 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_account"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_account"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_username"
|
||||
style="@style/accountEditText"
|
||||
android:hint="@string/et_account_hint"
|
||||
android:tag="username" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 密码 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_password"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_account"
|
||||
android:layout_marginTop="15dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_password"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_password"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_password"
|
||||
style="@style/accountEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/et_password_hint"
|
||||
android:inputType="textPassword"
|
||||
android:tag="password" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_view_password"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/lawngreen"
|
||||
android:text="@string/btn_show"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 毕业院校 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_school"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_password"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_school"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_school"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<com.zftlive.android.library.widget.SingleSpinner
|
||||
android:id="@+id/sp_school"
|
||||
style="@style/accountEditText"
|
||||
custom:key="school" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 性别 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_sex"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_school"
|
||||
android:layout_marginTop="18dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sex"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/rg_sex"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/radioGroup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<com.zftlive.android.library.widget.RadioButton
|
||||
android:id="@+id/radioMale"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:checked="true"
|
||||
android:text="@string/sex_male"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="sex"
|
||||
custom:value="male" />
|
||||
|
||||
<com.zftlive.android.library.widget.RadioButton
|
||||
android:id="@+id/radioFemale"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:checked="false"
|
||||
android:text="@string/sex_female"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="sex"
|
||||
custom:value="female" />
|
||||
</RadioGroup>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 兴趣爱好 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_hoby"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_sex"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hoby"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/tv_hoby"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<com.zftlive.android.library.widget.CheckBox
|
||||
android:id="@+id/cb_sleep"
|
||||
style="@style/CustomCheckboxTheme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="1dp"
|
||||
android:text="@string/hoby_sleep"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="hoby"
|
||||
custom:value="sleep" />
|
||||
|
||||
<com.zftlive.android.library.widget.CheckBox
|
||||
android:id="@+id/cb_boll"
|
||||
style="@style/CustomCheckboxTheme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="1dp"
|
||||
android:text="@string/hoby_boll"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="hoby"
|
||||
custom:value="boll" />
|
||||
|
||||
<com.zftlive.android.library.widget.CheckBox
|
||||
android:id="@+id/cb_read"
|
||||
style="@style/CustomCheckboxTheme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="1dp"
|
||||
android:text="@string/hoby_read"
|
||||
android:textColor="@color/deepgray"
|
||||
custom:key="hoby"
|
||||
custom:value="read" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 账号 -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_remark"
|
||||
style="@style/accountInputBorder"
|
||||
android:layout_below="@id/ll_hoby"
|
||||
android:layout_marginTop="18dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_remark"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/remark"
|
||||
android:textColor="@color/grey" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_remark"
|
||||
style="@style/accountEditText"
|
||||
android:hint="@string/hint_remark"
|
||||
android:tag="remark" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 提交表单 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/ll_remark"
|
||||
android:layout_marginLeft="18dp"
|
||||
android:layout_marginRight="18dp"
|
||||
android:layout_marginTop="13dp" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_login"
|
||||
style="@style/accountButtonStyle"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:background="@color/orange"
|
||||
android:text="@string/btn_auto_gaindata" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
|
@ -1,25 +1,25 @@
|
|||
<?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:background="@color/white"
|
||||
tools:context="com.zftlive.android.sample.map.location.BaiduLocationActivity" >
|
||||
|
||||
<com.baidu.mapapi.map.MapView
|
||||
android:id="@+id/bmapView"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="200dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:clickable="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/loc_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_below="@+id/bmapView"
|
||||
android:layout_marginTop="88dp"
|
||||
android:text="TextView" />
|
||||
|
||||
</RelativeLayout>
|
||||
<?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:background="@color/white"
|
||||
tools:context="com.zftlive.android.sample.map.location.BaiduLocationActivity" >
|
||||
|
||||
<com.baidu.mapapi.map.MapView
|
||||
android:id="@+id/bmapView"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="200dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:clickable="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/loc_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_below="@+id/bmapView"
|
||||
android:layout_marginTop="88dp"
|
||||
android:text="TextView" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -1,21 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Activity基类布局容器 -->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<!-- 标题栏 -->
|
||||
|
||||
<include
|
||||
android:id="@+id/ll_title"
|
||||
layout="@layout/common_title_bar" />
|
||||
|
||||
<!-- 内容区域 -->
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fl_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/ll_title" />
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Activity基类布局容器 -->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/rootLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<!-- 标题栏 -->
|
||||
|
||||
<include
|
||||
android:id="@+id/ll_title"
|
||||
layout="@layout/common_title_bar" />
|
||||
|
||||
<!-- 内容区域 -->
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fl_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/ll_title" />
|
||||
|
||||
</RelativeLayout>
|
|
@ -1,104 +1,104 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView 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"
|
||||
tools:context=".sample.basic.BasicTestActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/frame_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="@color/white"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_opengps"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/orange"
|
||||
android:text="@string/btn_opengps" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_call"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_call" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_contact"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_contact" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_setting"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_setting" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_carema"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_carema" />
|
||||
|
||||
<com.zftlive.android.library.widget.RoundAngleImageView
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/headIV"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:src="@drawable/scrollview_header"
|
||||
app:rHeight="40dp"
|
||||
app:rWidth="40dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hanziyingwen1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_photo"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hanziyingwen2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp" />
|
||||
|
||||
<com.zftlive.android.library.widget.AlignTextView
|
||||
android:id="@+id/tv_align"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.zftlive.android.library.widget.CKeyboardEditText
|
||||
xmlns:ckb="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/ckb_accuont"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="100dp"
|
||||
ckb:randomkeys="true"
|
||||
ckb:xml="@xml/amountinputkeyboard" />
|
||||
</LinearLayout>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView 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"
|
||||
tools:context=".sample.basic.BasicTestActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/frame_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="@color/white"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_opengps"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/orange"
|
||||
android:text="@string/btn_opengps" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_call"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_call" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_contact"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_contact" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_setting"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_setting" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_carema"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_carema" />
|
||||
|
||||
<com.zftlive.android.library.widget.RoundAngleImageView
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/headIV"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:src="@drawable/scrollview_header"
|
||||
app:rHeight="40dp"
|
||||
app:rWidth="40dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hanziyingwen1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:background="@color/cornflowerblue"
|
||||
android:text="@string/btn_photo"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hanziyingwen2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp" />
|
||||
|
||||
<com.zftlive.android.library.widget.AlignTextView
|
||||
android:id="@+id/tv_align"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.zftlive.android.library.widget.CKeyboardEditText
|
||||
xmlns:ckb="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/ckb_accuont"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="100dp"
|
||||
ckb:randomkeys="true"
|
||||
ckb:xml="@xml/amountinputkeyboard" />
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
|
@ -1,30 +1,30 @@
|
|||
<?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" >
|
||||
|
||||
<android.view.SurfaceView
|
||||
android:id="@+id/camera_preview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/open_picIcon"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/avatar_default"
|
||||
android:visibility="gone"
|
||||
android:contentDescription="@string/app_name"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/save_pic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="拍照" />
|
||||
|
||||
<?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" >
|
||||
|
||||
<android.view.SurfaceView
|
||||
android:id="@+id/camera_preview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/open_picIcon"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/avatar_default"
|
||||
android:visibility="gone"
|
||||
android:contentDescription="@string/app_name"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/save_pic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="拍照" />
|
||||
|
||||
</LinearLayout>
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 相册选择/拍照DEMO -->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/common_bg_color" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_album"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="从相册中获取" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_camera"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/btn_album"
|
||||
android:text="从拍照中获取" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_photo"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_below="@+id/btn_camera"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@drawable/default_icon"
|
||||
android:scaleType="fitCenter" />
|
||||
|
||||
</RelativeLayout>
|
|
@ -1,102 +1,102 @@
|
|||
<?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" >
|
||||
|
||||
<!-- 标题栏 -->
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_webview_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:background="@color/actionbar_bg" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/ib_webview_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/selector_common_white_back_btn" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_webview_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@+id/ib_webview_share"
|
||||
android:layout_toRightOf="@id/ib_webview_back"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="left|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/ib_webview_share"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/common_share" />
|
||||
|
||||
<!-- 进度条 -->
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/pb_web_load_progress"
|
||||
style="@style/ProgressBar_Mini"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="3dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center"
|
||||
android:max="100"
|
||||
android:progress="0" />
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- webview容器(loading等待 + 错误提示重新加载 + webview) -->
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_webview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/rl_webview_title_bar" >
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_reload"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/error_bg"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone" >
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/ic_settings_input_antenna_white_48dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_error_msg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="点击重新加载"
|
||||
android:textColor="@color/error_text"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<?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" >
|
||||
|
||||
<!-- 标题栏 -->
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_webview_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:background="@color/actionbar_bg" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/ib_webview_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/selector_common_white_back_btn" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_webview_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@+id/ib_webview_share"
|
||||
android:layout_toRightOf="@id/ib_webview_back"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="left|center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/ib_webview_share"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/common_share" />
|
||||
|
||||
<!-- 进度条 -->
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/pb_web_load_progress"
|
||||
style="@style/ProgressBar_Mini"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="3dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center"
|
||||
android:max="100"
|
||||
android:progress="0" />
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- webview容器(loading等待 + 错误提示重新加载 + webview) -->
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_webview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/rl_webview_title_bar" >
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_reload"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/error_bg"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone" >
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/ic_settings_input_antenna_white_48dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_error_msg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="点击重新加载"
|
||||
android:textColor="@color/error_text"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
|
@ -1,126 +1,126 @@
|
|||
<?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/aliceblue"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<!-- 添加输入框 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_username"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:hint="用户名" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_email"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.5"
|
||||
android:hint="电子邮箱" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_add"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:text="添加" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 带分页导航条的信息列表 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/app_list_corner_round"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/lv_userlist"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:divider="@color/black"
|
||||
android:dividerHeight="1.5dp"
|
||||
android:focusable="true"
|
||||
android:footerDividersEnabled="true"
|
||||
android:headerDividersEnabled="true"
|
||||
android:scrollbars="none" >
|
||||
</ListView>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_first_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="首页" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_per_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="上一页" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_next_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="下一页" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_end_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="末页" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 修改编辑框 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_u_username"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:hint="用户名" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_u_email"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.5"
|
||||
android:hint="电子邮箱" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_update"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:text="保存" />
|
||||
</LinearLayout>
|
||||
|
||||
<?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/aliceblue"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<!-- 添加输入框 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_username"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:hint="用户名" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_email"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.5"
|
||||
android:hint="电子邮箱" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_add"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:text="添加" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 带分页导航条的信息列表 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/app_list_corner_round"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/lv_userlist"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:divider="@color/black"
|
||||
android:dividerHeight="1.5dp"
|
||||
android:focusable="true"
|
||||
android:footerDividersEnabled="true"
|
||||
android:headerDividersEnabled="true"
|
||||
android:scrollbars="none" >
|
||||
</ListView>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_first_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="首页" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_per_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="上一页" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_next_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="下一页" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_end_page"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:text="末页" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 修改编辑框 -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_u_username"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:hint="用户名" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_u_email"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.5"
|
||||
android:hint="电子邮箱" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_update"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:text="保存" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -1,46 +1,46 @@
|
|||
<?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="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_order_no"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:gravity="center"
|
||||
android:text="1"
|
||||
android:textColor="@color/black" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:gravity="center"
|
||||
android:text="Ajava"
|
||||
android:textColor="@color/black" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_email"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.5"
|
||||
android:gravity="center"
|
||||
android:text="zftlive@163.com"
|
||||
android:textColor="@color/black" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_update"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="修改" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_del"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="删除" />
|
||||
|
||||
<?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="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_order_no"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:gravity="center"
|
||||
android:text="1"
|
||||
android:textColor="@color/black" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.0"
|
||||
android:gravity="center"
|
||||
android:text="Ajava"
|
||||
android:textColor="@color/black" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_email"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1.5"
|
||||
android:gravity="center"
|
||||
android:text="zftlive@163.com"
|
||||
android:textColor="@color/black" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_update"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="修改" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_del"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="删除" />
|
||||
|
||||
</LinearLayout>
|
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:android_custom="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/aliceblue"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<com.zftlive.android.library.widget.SwipeListView
|
||||
android:id="@+id/fav_listview"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:divider="@color/lightgray"
|
||||
android:dividerHeight="1.5dp"
|
||||
android:focusable="true"
|
||||
android:footerDividersEnabled="true"
|
||||
android:headerDividersEnabled="true"
|
||||
android:scrollbars="none"
|
||||
android_custom:right_width="100dp" />
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:android_custom="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/aliceblue"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<com.zftlive.android.library.widget.SwipeListView
|
||||
android:id="@+id/fav_listview"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:divider="@color/lightgray"
|
||||
android:dividerHeight="1.5dp"
|
||||
android:focusable="true"
|
||||
android:footerDividersEnabled="true"
|
||||
android:headerDividersEnabled="true"
|
||||
android:scrollbars="none"
|
||||
android_custom:right_width="100dp" />
|
||||
|
||||
</LinearLayout>
|
|
@ -1,89 +1,89 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/selector_my_favorite_list"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_left"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_publish_date"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:paddingLeft="2dp"
|
||||
android:text="@string/list_publish_date"
|
||||
android:textColor="@color/whiteGray"
|
||||
android:textSize="@dimen/fav_list_item_date" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="3dp"
|
||||
android:layout_toLeftOf="@+id/btn_go"
|
||||
android:layout_toRightOf="@+id/tv_publish_date"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:padding="2dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:text="@string/list_category"
|
||||
android:textColor="@color/grey"
|
||||
android:textSize="@dimen/fav_list_item_category" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:singleLine="false"
|
||||
android:lines="2"
|
||||
android:text="@string/list_title"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/fav_list_item_title" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_go"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:paddingRight="5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@drawable/selector_my_favorite_list_go"
|
||||
android:contentDescription="@string/app_name" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="@color/right_bg"
|
||||
android:gravity="center" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_right_txt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:drawableLeft="@drawable/del_icon_normal"
|
||||
android:gravity="center"
|
||||
android:text="@string/menu_delete"
|
||||
android:textColor="@color/blur_bg"
|
||||
android:textSize="@dimen/fav_list_item_delete"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/selector_my_favorite_list"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_left"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_publish_date"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:paddingLeft="2dp"
|
||||
android:text="@string/list_publish_date"
|
||||
android:textColor="@color/whiteGray"
|
||||
android:textSize="@dimen/fav_list_item_date" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="3dp"
|
||||
android:layout_toLeftOf="@+id/btn_go"
|
||||
android:layout_toRightOf="@+id/tv_publish_date"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:padding="2dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:text="@string/list_category"
|
||||
android:textColor="@color/grey"
|
||||
android:textSize="@dimen/fav_list_item_category" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:singleLine="false"
|
||||
android:lines="2"
|
||||
android:text="@string/list_title"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/fav_list_item_title" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_go"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:paddingRight="5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@drawable/selector_my_favorite_list_go"
|
||||
android:contentDescription="@string/app_name" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="@color/right_bg"
|
||||
android:gravity="center" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_right_txt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:drawableLeft="@drawable/del_icon_normal"
|
||||
android:gravity="center"
|
||||
android:text="@string/menu_delete"
|
||||
android:textColor="@color/blur_bg"
|
||||
android:textSize="@dimen/fav_list_item_delete"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -1,33 +1,33 @@
|
|||
<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.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<!-- The main content view -->
|
||||
<FrameLayout
|
||||
android:id="@+id/content_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<!-- The navigation drawer -->
|
||||
<ListView
|
||||
android:id="@+id/left_drawer"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@color/lightgray"
|
||||
android:background="@color/white"
|
||||
android:dividerHeight="1.5dp"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:scrollbars="none" />
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
<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.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<!-- The main content view -->
|
||||
<FrameLayout
|
||||
android:id="@+id/content_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<!-- The navigation drawer -->
|
||||
<ListView
|
||||
android:id="@+id/left_drawer"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@color/lightgray"
|
||||
android:background="@color/white"
|
||||
android:dividerHeight="1.5dp"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:scrollbars="none" />
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
</RelativeLayout>
|
|
@ -1,19 +1,19 @@
|
|||
<?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" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_create_shortcut"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="创建桌面快捷方式" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_update_shortcut"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="动态更新图标" />
|
||||
|
||||
<?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" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_create_shortcut"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="创建桌面快捷方式" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_update_shortcut"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="动态更新图标" />
|
||||
|
||||
</LinearLayout>
|
|
@ -1,36 +1,36 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/ll_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
tools:context=".common.FeedbackActivity" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_message"
|
||||
android:tag="suggest"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:gravity="start"
|
||||
android:hint="@string/hint_feedback"
|
||||
android:inputType="textMultiLine"
|
||||
android:background="@drawable/view_linnerlayout_border"
|
||||
android:padding="5dp"
|
||||
android:maxLength="1000"
|
||||
android:minLines="15" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_sumbit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@color/blue"
|
||||
android:padding="10dp"
|
||||
android:text="@string/btn_submit"
|
||||
android:textColor="@color/white"
|
||||
android:visibility="invisible"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/ll_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
tools:context=".common.FeedbackActivity" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_message"
|
||||
android:tag="suggest"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:gravity="start"
|
||||
android:hint="@string/hint_feedback"
|
||||
android:inputType="textMultiLine"
|
||||
android:background="@drawable/view_linnerlayout_border"
|
||||
android:padding="5dp"
|
||||
android:maxLength="1000"
|
||||
android:minLines="15" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_sumbit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@color/blue"
|
||||
android:padding="10dp"
|
||||
android:text="@string/btn_submit"
|
||||
android:textColor="@color/white"
|
||||
android:visibility="invisible"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|