将Sample入口界面label修改为引用string配置文件

This commit is contained in:
zengfantian 2015-01-26 23:51:17 +08:00
parent a29c3b8000
commit 24185c6b80
3 changed files with 33 additions and 15 deletions

View File

@ -118,7 +118,7 @@
<!-- 引导界面 -->
<activity
android:name=".common.GuideActivity"
android:label="GuideActivity"
android:label="@string/GuideActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
@ -132,7 +132,7 @@
<!-- 意见反馈界面 -->
<activity
android:name=".common.FeedbackActivity"
android:label="FeedbackActivity"
android:label="@string/FeedbackActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -145,7 +145,6 @@
<!-- 扫描二维码界面 -->
<activity
android:name=".zxing.CaptureActivity"
android:label="CaptureActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
@ -153,7 +152,7 @@
<!-- 底部泡泡菜单 -->
<activity
android:name=".sample.popupwindow.PopDialogMenuActivity"
android:label="PopDialogMenuActivity"
android:label="@string/PopDialogMenuActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -166,7 +165,7 @@
<!-- 曲线图样例 -->
<activity
android:name=".sample.chart.LineChartActivity"
android:label="LineChartActivity"
android:label="@string/LineChartActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -179,7 +178,7 @@
<!-- 异步加载列表图片样例 -->
<activity
android:name=".sample.image.ImageListviewActivity"
android:label="ImageListviewActivity"
android:label="@string/ImageListviewActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -192,7 +191,7 @@
<!-- 调用摄像头拍照样例 -->
<activity
android:name=".sample.camera.CameraPictureActivity"
android:label="CameraPictureActivity"
android:label="@string/CameraPictureActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -205,7 +204,7 @@
<!-- 数据库操作示例 -->
<activity
android:name=".sample.db.DBDemoActivity"
android:label="DBDemoActivity"
android:label="@string/DBDemoActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -218,7 +217,7 @@
<!-- 生成二维码/验证码示例 -->
<activity
android:name=".sample.zxing.ZxingGenBinActivity"
android:label="ZxingGenBinActivity"
android:label="@string/ZxingGenBinActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -231,7 +230,7 @@
<!-- 扫描二维码/条形码示例 -->
<activity
android:name=".sample.zxing.ZxingSacnnerActivity"
android:label="ZxingSacnnerActivity"
android:label="@string/ZxingSacnnerActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -244,7 +243,7 @@
<!-- 调用webservice接口SOAP协议查看天气示例 -->
<activity
android:name=".sample.soap.ProviceActivity"
android:label="调用WebService示例"
android:label="@string/SOAP"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -269,7 +268,7 @@
<!-- 发送手机短信验证码示例 -->
<activity
android:name=".sample.sms.PhoneValidateCodeActivity"
android:label="PhoneValidateCodeActivity"
android:label="@string/PhoneValidateCodeActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -282,7 +281,7 @@
<!-- 各种进度条示例 -->
<activity
android:name=".sample.progressbar.ProgressBarActivity"
android:label="ProgressBarActivity"
android:label="@string/ProgressBarActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
@ -295,7 +294,7 @@
<!-- 自动获取表单数据示例 -->
<activity
android:name=".sample.data.AutoGainFormActivity"
android:label="自动获取表单数据示例"
android:label="@string/AutoGainFormActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >

View File

@ -1,7 +1,6 @@
<resources>
<string name="app_name">攻城师</string>
<string name="MainActivity">Android样例锦集</string>
<!-- 共通字符串 -->
<string name="loading_waiting">加載中,请稍后...</string>
</resources>

View File

@ -1,4 +1,24 @@
<resources>
<!-- Android样例锦集label(开始) -->
<string name="MainActivity">Android样例锦集</string>
<string name="GuideActivity">引导界面</string>
<string name="FeedbackActivity">意见反馈</string>
<string name="PopDialogMenuActivity">底部泡泡菜单</string>
<string name="LineChartActivity">Achartengine带泡泡提示的曲线图</string>
<string name="ImageListviewActivity">异步加载图片+防错位DEMO</string>
<string name="CameraPictureActivity">直接启动摄像头拍照</string>
<string name="DBDemoActivity">Sqlite增删改查操作</string>
<string name="ZxingGenBinActivity">生成二维码/验证码</string>
<string name="ZxingSacnnerActivity">竖屏扫描二维码/条形码</string>
<string name="SOAP">调用WebService示例</string>
<string name="PhoneValidateCodeActivity">发送手机短信验证码</string>
<string name="ProgressBarActivity">垂直+水平+圆形进度条</string>
<string name="AutoGainFormActivity">自动获取表单数据示例</string>
<!-- Android样例锦集label(结束) -->
<string name="sms_timer">获取手机验证码(%1$s</string>
<!-- 自动获取表单示例(开始) -->