mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Making customize mode tabs more compact
- reducing padding in portrait mode - changed "App shortcuts" -> "Apps" - fixes issues with Spanish and other languages in portrait mode and small devices Change-Id: I1e1d57873785421d37cfd9d78f9e6314e49ff1ac
This commit is contained in:
25
res/values-xlarge-port/styles.xml
Normal file
25
res/values-xlarge-port/styles.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2011 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<style name="CustomizeTabIndicator.Wide" parent="TabIndicator.Wide">
|
||||
<item name="android:paddingLeft">20dp</item>
|
||||
<item name="android:paddingRight">20dp</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -81,7 +81,7 @@ public class CustomizeTrayTabHost extends TabHost implements LauncherTransitiona
|
||||
.setIndicator(tabView).setContent(contentFactory));
|
||||
tabView = (TextView) mInflater.inflate(
|
||||
R.layout.customize_tab_widget_indicator, tabWidget, false);
|
||||
tabView.setText(mContext.getString(R.string.applications_tab_label));
|
||||
tabView.setText(mContext.getString(R.string.all_apps_tab_apps));
|
||||
addTab(newTabSpec(APPLICATIONS_TAG)
|
||||
.setIndicator(tabView).setContent(contentFactory));
|
||||
tabView = (TextView) mInflater.inflate(
|
||||
|
||||
Reference in New Issue
Block a user