Compare commits
5 Commits
fc6ff2e5cc
...
8da02333df
Author | SHA1 | Date | |
---|---|---|---|
8da02333df | |||
926fe17919 | |||
fb007debad | |||
23772cedcb | |||
e02abc19f8 |
@@ -8,11 +8,9 @@ import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import android.support.v7.app.ActionBar;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewManager;
|
||||
import android.view.WindowManager;
|
||||
import android.widget.Button;
|
||||
import android.widget.EditText;
|
||||
@@ -210,7 +208,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
//chronometer = (TextView) findViewById(R.id.chronometer);
|
||||
|
||||
String[] time = {Long.toString(milliseconds/(1000*60*60)),
|
||||
Long.toString((milliseconds/(1000*60)%(60*60))),
|
||||
Long.toString((milliseconds/(1000*60)%(60))),
|
||||
Long.toString((milliseconds/(1000))%60)};
|
||||
|
||||
for (int i = 0; i < time.length; i++){
|
||||
@@ -494,9 +492,6 @@ public class MainActivity extends AppCompatActivity {
|
||||
sharedPreferences.edit().putBoolean(keyServiceRunning, false).apply();
|
||||
|
||||
recoverScreen();
|
||||
|
||||
ActionBar actionBar = getSupportActionBar();
|
||||
actionBar.hide();
|
||||
}
|
||||
|
||||
private void flipInputTexts() {
|
||||
|
@@ -4,29 +4,18 @@
|
||||
android:id="@+id/activity_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="?android:actionBarSize"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.hyperling.apps.infinitetimer.MainActivity">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAppName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/appName"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@color/colorPrimaryDark"
|
||||
android:layout_marginTop="10dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="32sp"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvUpperLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tvAppName"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_margin="4dp"
|
||||
android:textSize="18sp"
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
@@ -9,7 +9,7 @@
|
||||
</style>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="InfiniteTimer" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<style name="InfiniteTimer" parent="Theme.AppCompat.DayNight.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
|
Reference in New Issue
Block a user