mirror of https://github.com/M66B/NetGuard.git
Removed title from action bar
This commit is contained in:
parent
490f66167a
commit
738a43d12d
|
@ -148,9 +148,6 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
|
||||
// Title
|
||||
getSupportActionBar().setTitle(null);
|
||||
if ((getResources().getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK)
|
||||
== Configuration.SCREENLAYOUT_SIZE_LARGE)
|
||||
actionView.findViewById(R.id.tvTitle).setVisibility(View.VISIBLE);
|
||||
|
||||
// Netguard is busy
|
||||
ivQueue.setOnLongClickListener(new View.OnLongClickListener() {
|
||||
|
|
|
@ -21,17 +21,6 @@
|
|||
android:src="@drawable/ic_hourglass_empty_white_24dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="@string/app_name"
|
||||
android:textAppearance="@style/TextLarge"
|
||||
android:visibility="gone" />
|
||||
|
||||
<android.support.v7.widget.SwitchCompat
|
||||
android:id="@+id/swEnabled"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
Loading…
Reference in New Issue