am e9461be3: am f876301d: UI Fixes
* commit 'e9461be3cfc7fd5b8956b84aea3184474c366eba': UI Fixes
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 334 B |
|
@ -4,6 +4,7 @@
|
|||
android:id="@+id/longpress_cling"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/cling_scrim_background"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Space
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"
|
||||
android:id="@+id/longpress_cling"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/cling_scrim_background" >
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/cling_content"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
android:id="@+id/longpress_cling"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/cling_scrim_background"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Space
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
over the delete target or the info target -->
|
||||
<color name="delete_target_hover_tint">#DAFF0000</color>
|
||||
<color name="info_target_hover_tint">#DA0099CC</color>
|
||||
<color name="cling_scrim_background">#80000000</color>
|
||||
|
||||
<color name="bubble_dark_background">#20000000</color>
|
||||
<color name="focused_background">#80c6c5c5</color>
|
||||
|
|
|
@ -73,6 +73,7 @@ import android.text.TextUtils;
|
|||
import android.text.method.TextKeyListener;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.Log;
|
||||
import android.view.ContextThemeWrapper;
|
||||
import android.view.Display;
|
||||
import android.view.Gravity;
|
||||
import android.view.HapticFeedbackConstants;
|
||||
|
@ -2555,7 +2556,7 @@ public class Launcher extends Activity
|
|||
|
||||
private void showBrokenAppInstallDialog(final String packageName,
|
||||
DialogInterface.OnClickListener onSearchClickListener) {
|
||||
new AlertDialog.Builder(this)
|
||||
new AlertDialog.Builder(new ContextThemeWrapper(this, android.R.style.Theme_DeviceDefault))
|
||||
.setTitle(R.string.abandoned_promises_title)
|
||||
.setMessage(R.string.abandoned_promise_explanation)
|
||||
.setPositiveButton(R.string.abandoned_search, onSearchClickListener)
|
||||
|
|