将自定义控件命名空间统一修改为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"?>
<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"
android:id="@+id/frame_root"
android:layout_width="match_parent"
@ -9,6 +9,7 @@
tools:context=".sample.data.AutoGainFormActivity" >
<!-- 账号 -->
<LinearLayout
android:id="@+id/ll_account"
style="@style/accountInputBorder"
@ -81,7 +82,7 @@
<com.zftlive.android.library.widget.SingleSpinner
android:id="@+id/sp_school"
style="@style/accountEditText"
custom:key="school"/>
custom:key="school" />
</LinearLayout>
<!-- 性别 -->

View File

@ -1,6 +1,6 @@
<?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/com.zftlive.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"

View File

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

View File

@ -1,5 +1,5 @@
<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"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -87,8 +87,8 @@
style="@style/ProgressBar_Mini"
android:layout_width="200dp"
android:layout_height="10dp"
android:layout_marginTop="20dp"
android:layout_gravity="center"
android:layout_marginTop="20dp"
android:max="100"
android:progress="40" />
@ -107,12 +107,12 @@
android:progressDrawable="@drawable/view_custom_progress_bar" />
<ProgressBar
style="?android:attr/progressBarStyleHorizontal"
android:id="@+id/pb_horizontal_custom"
android:layout_marginTop="20dp"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="300dp"
android:layout_height="15dp"
android:layout_gravity="center"
android:layout_marginTop="20dp"
android:max="100"
android:progress="50"
android:progressDrawable="@drawable/view_custom_progress_bar" />

View File

@ -1,6 +1,6 @@
<?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/com.zftlive.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"
@ -30,9 +30,9 @@
style="@style/accountEditText"
android:layout_width="0dip"
android:layout_weight="1.0"
android:background="@drawable/view_linnerlayout_border"
android:hint="@string/et_phonenumber_hint"
android:inputType="phone"
android:background="@drawable/view_linnerlayout_border"
android:tag="phonenumber" />
<Button
@ -64,9 +64,9 @@
android:id="@+id/et_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/view_linnerlayout_border"
android:hint="@string/tv_content"
android:inputType="textMultiLine"
android:background="@drawable/view_linnerlayout_border"
android:minLines="5"
android:tag="smscontent"
android:textColor="@color/gray"