修正语言搜索,完善 search bar 资源
No files matched your search
@@ -37,7 +37,8 @@
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:configChanges="orientation|screenSize"
|
||||
android:theme="@style/AppTheme.ListActivity.PullList" >
|
||||
android:theme="@style/AppTheme.ListActivity.PullList"
|
||||
android:launchMode="singleTop" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEARCH" />
|
||||
</intent-filter>
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
@@ -1,8 +1,13 @@
|
||||
Version 0.4.5 (2014-??-??)
|
||||
* 添加更新服务器
|
||||
* 添加封面图片渐进效果显示
|
||||
* 优化列表流畅度
|
||||
* 优化内存
|
||||
* 更规范的界面
|
||||
* 添加评分功能
|
||||
* 添加标签投票功能
|
||||
* 调整下拉刷新控件
|
||||
* 调整部分数据的存储方式
|
||||
|
||||
Version 0.4.4 (2014-04-06)
|
||||
* 修复错误的日志输出导致的崩溃
|
||||
|
||||
@@ -1034,6 +1034,14 @@ public class MangaListActivity extends SlidingActivity {
|
||||
mResources.getDimensionPixelOffset(R.dimen.menu_offset));
|
||||
}
|
||||
|
||||
private void handleIntent(Intent intent) {
|
||||
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
|
||||
String query =
|
||||
intent.getStringExtra(SearchManager.QUERY);
|
||||
mSearchView.setQuery(query, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
@@ -1043,9 +1051,16 @@ public class MangaListActivity extends SlidingActivity {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNewIntent(Intent intent) {
|
||||
setIntent(intent);
|
||||
handleIntent(intent);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
handleIntent(getIntent());
|
||||
setContentView(R.layout.list);
|
||||
|
||||
mAppContext = (AppContext)getApplication();
|
||||
|
||||