将自定义控件命名空间统一修改为res-auto

This commit is contained in:
zengfantian 2015-08-19 02:08:31 +08:00
parent cc2abc3a1f
commit 8e921cf5d2
5 changed files with 23 additions and 20 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res/com.zftlive.android" xmlns:custom="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/frame_root" android:id="@+id/frame_root"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -9,6 +9,7 @@
tools:context=".sample.data.AutoGainFormActivity" > tools:context=".sample.data.AutoGainFormActivity" >
<!-- 账号 --> <!-- 账号 -->
<LinearLayout <LinearLayout
android:id="@+id/ll_account" android:id="@+id/ll_account"
style="@style/accountInputBorder" style="@style/accountInputBorder"
@ -81,7 +82,7 @@
<com.zftlive.android.library.widget.SingleSpinner <com.zftlive.android.library.widget.SingleSpinner
android:id="@+id/sp_school" android:id="@+id/sp_school"
style="@style/accountEditText" style="@style/accountEditText"
custom:key="school"/> custom:key="school" />
</LinearLayout> </LinearLayout>
<!-- 性别 --> <!-- 性别 -->

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android_custom="http://schemas.android.com/apk/res/com.zftlive.android" xmlns:android_custom="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/aliceblue" android:background="@color/aliceblue"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android_custom="http://schemas.android.com/apk/res/cn.com.hoonsoft.chinabond" xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/ll_root" android:id="@+id/ll_root"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
@ -8,15 +8,16 @@
android:orientation="vertical" > android:orientation="vertical" >
<!-- 标题栏 --> <!-- 标题栏 -->
<LinearLayout <LinearLayout
android:id="@+id/ll_title" android:id="@+id/ll_title"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:background="@color/red" android:background="@color/red"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" > android:orientation="horizontal"
android:paddingBottom="8dp"
android:paddingTop="8dp" >
<Button <Button
android:id="@+id/back_btn" android:id="@+id/back_btn"
@ -35,14 +36,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_weight="3" android:layout_weight="3"
android:gravity="center"
android:clickable="true" android:clickable="true"
android:ellipsize="marquee" android:ellipsize="marquee"
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
android:gravity="center"
android:text="收益率曲线" android:text="收益率曲线"
android:textSize="20sp"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="20sp"
android:visibility="visible" /> android:visibility="visible" />
<Button <Button
@ -56,20 +57,21 @@
</LinearLayout> </LinearLayout>
<!-- 图表曲线 --> <!-- 图表曲线 -->
<LinearLayout <LinearLayout
android:id="@+id/ll_chat" android:id="@+id/ll_chat"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
android:layout_weight="1.3"
android:layout_marginLeft="2dp" android:layout_marginLeft="2dp"
android:layout_marginRight="2dp" android:layout_marginRight="2dp"
android:layout_marginTop="5dp"
android:layout_weight="1.3"
android:gravity="center" android:gravity="center"
android:orientation="vertical" > android:orientation="vertical" >
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_blank" android:id="@+id/ll_blank"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="0dip" android:layout_height="0dip"

View File

@ -1,5 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android_custom="http://schemas.android.com/apk/res/com.zftlive.android" xmlns:android_custom="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -87,8 +87,8 @@
style="@style/ProgressBar_Mini" style="@style/ProgressBar_Mini"
android:layout_width="200dp" android:layout_width="200dp"
android:layout_height="10dp" android:layout_height="10dp"
android:layout_marginTop="20dp"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="20dp"
android:max="100" android:max="100"
android:progress="40" /> android:progress="40" />
@ -107,12 +107,12 @@
android:progressDrawable="@drawable/view_custom_progress_bar" /> android:progressDrawable="@drawable/view_custom_progress_bar" />
<ProgressBar <ProgressBar
style="?android:attr/progressBarStyleHorizontal"
android:id="@+id/pb_horizontal_custom" android:id="@+id/pb_horizontal_custom"
android:layout_marginTop="20dp" style="?android:attr/progressBarStyleHorizontal"
android:layout_width="300dp" android:layout_width="300dp"
android:layout_height="15dp" android:layout_height="15dp"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="20dp"
android:max="100" android:max="100"
android:progress="50" android:progress="50"
android:progressDrawable="@drawable/view_custom_progress_bar" /> android:progressDrawable="@drawable/view_custom_progress_bar" />

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res/com.zftlive.android" xmlns:custom="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/frame_root" android:id="@+id/frame_root"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -30,9 +30,9 @@
style="@style/accountEditText" style="@style/accountEditText"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1.0" android:layout_weight="1.0"
android:background="@drawable/view_linnerlayout_border"
android:hint="@string/et_phonenumber_hint" android:hint="@string/et_phonenumber_hint"
android:inputType="phone" android:inputType="phone"
android:background="@drawable/view_linnerlayout_border"
android:tag="phonenumber" /> android:tag="phonenumber" />
<Button <Button
@ -64,9 +64,9 @@
android:id="@+id/et_content" android:id="@+id/et_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/view_linnerlayout_border"
android:hint="@string/tv_content" android:hint="@string/tv_content"
android:inputType="textMultiLine" android:inputType="textMultiLine"
android:background="@drawable/view_linnerlayout_border"
android:minLines="5" android:minLines="5"
android:tag="smscontent" android:tag="smscontent"
android:textColor="@color/gray" android:textColor="@color/gray"