After Width: | Height: | Size: 467 B |
After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 254 B |
After Width: | Height: | Size: 631 B |
After Width: | Height: | Size: 582 B |
Before Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 319 B |
After Width: | Height: | Size: 901 B |
After Width: | Height: | Size: 974 B |
@ -0,0 +1,68 @@
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:id="@+id/search_bar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="@dimen/search_bar_height" |
||||
android:background="@color/white" |
||||
android:visibility="gone"> |
||||
|
||||
<View |
||||
android:layout_width="match_parent" |
||||
android:layout_height="1dp" |
||||
android:layout_gravity="center_vertical" |
||||
android:background="?android:attr/dividerVertical" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/search_query" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="match_parent" |
||||
android:textColor="@color/black" |
||||
android:layout_alignParentLeft="true" |
||||
android:paddingLeft="10dp" |
||||
android:ellipsize="end" |
||||
android:gravity="center_vertical" |
||||
android:textSize="22sp" /> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="match_parent" |
||||
android:layout_alignParentRight="true" |
||||
android:orientation="horizontal"> |
||||
|
||||
<ImageButton |
||||
android:id="@+id/button_next" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="match_parent" |
||||
android:contentDescription="@null" |
||||
android:src="@drawable/ic_action_collapse" |
||||
style="?android:attr/buttonBarButtonStyle" /> |
||||
|
||||
<View |
||||
android:layout_width="1dp" |
||||
android:layout_height="25dp" |
||||
android:layout_gravity="center_vertical" |
||||
android:background="?android:attr/dividerVertical" /> |
||||
|
||||
<ImageButton |
||||
android:id="@+id/button_back" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="match_parent" |
||||
android:contentDescription="@null" |
||||
android:src="@drawable/ic_action_expand" |
||||
style="?android:attr/buttonBarButtonStyle" /> |
||||
|
||||
<View |
||||
android:layout_width="1dp" |
||||
android:layout_height="25dp" |
||||
android:layout_gravity="center_vertical" |
||||
android:background="?android:attr/dividerVertical" /> |
||||
|
||||
<ImageButton |
||||
android:id="@+id/button_quit" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="match_parent" |
||||
android:contentDescription="@null" |
||||
android:src="@drawable/ic_action_delete" |
||||
style="?android:attr/buttonBarButtonStyle" /> |
||||
</LinearLayout> |
||||
</RelativeLayout> |
@ -1,29 +0,0 @@
@@ -1,29 +0,0 @@
|
||||
/* |
||||
* Copyright 2014 A.C.R. Development |
||||
*/ |
||||
package acr.browser.lightning; |
||||
|
||||
public class SettingsController { |
||||
|
||||
private static boolean clearHistory; |
||||
|
||||
/** |
||||
* The purpose of this class is so that I can clear the dropdown history in |
||||
* the main activities if the user selects to clear the history from the |
||||
* disk in advanced settings |
||||
*/ |
||||
public static void setClearHistory(boolean choice) { |
||||
clearHistory = choice; |
||||
} |
||||
|
||||
/** |
||||
* return the choice |
||||
*/ |
||||
public static boolean getClearHistory() { |
||||
if (clearHistory) { |
||||
clearHistory = false; |
||||
return true; |
||||
} |
||||
return false; |
||||
} |
||||
} |