Wizard: welcome step
This commit is contained in:
parent
099d330f9d
commit
09f3655bb8
@ -74,7 +74,7 @@
|
||||
<component name="ProjectModuleManager">
|
||||
<modules />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
|
@ -60,7 +60,7 @@
|
||||
|
||||
<activity android:label="@string/c_vars_and_constants" android:name=".math.edit.CalculatorVarsActivity"/>
|
||||
<activity android:name=".CalculatorWikiActivity"/>
|
||||
<activity android:launchMode="singleTop" android:name=".wizard.WizardActivity" android:theme="@style/cpp_metro_blue_theme">
|
||||
<activity android:launchMode="singleTop" android:name=".wizard.WizardActivity" android:theme="@style/Theme.Wizard">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
</intent-filter>
|
||||
@ -71,7 +71,7 @@
|
||||
<activity android:label="@string/cpp_plot_function_settings" android:name=".plot.CalculatorPlotFunctionSettingsActivity" android:theme="@style/cpp_metro_blue_dialog_theme"/>
|
||||
<activity android:label="@string/cpp_plot_range" android:name=".plot.CalculatorPlotRangeActivity" android:theme="@style/cpp_metro_blue_dialog_theme"/>
|
||||
|
||||
<activity android:label="@string/cpp_purchase_title" android:name=".preferences.PurchaseDialogActivity" android:theme="@style/Theme.Wizard"/>
|
||||
<activity android:label="@string/cpp_purchase_title" android:name=".preferences.PurchaseDialogActivity" android:theme="@style/Theme.Wizard.Purchase"/>
|
||||
|
||||
<activity android:name=".CalculatorDialogActivity" android:theme="@style/cpp_metro_blue_dialog_theme"/>
|
||||
|
||||
|
@ -32,13 +32,12 @@ import android.support.annotation.LayoutRes;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.app.FragmentManager;
|
||||
import android.support.v4.app.FragmentTransaction;
|
||||
import android.support.v7.app.ActionBar;
|
||||
import android.support.v7.app.ActionBarActivity;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
import android.support.v7.app.ActionBar;
|
||||
import android.support.v7.app.ActionBarActivity;
|
||||
import org.solovyev.android.Activities;
|
||||
import org.solovyev.android.Views;
|
||||
import org.solovyev.android.sherlock.tabs.ActionBarFragmentTabListener;
|
||||
@ -88,8 +87,6 @@ public class ActivityUi extends BaseUi {
|
||||
if (root != null) {
|
||||
processButtons(activity, root);
|
||||
addHelpInfo(activity, root);
|
||||
} else {
|
||||
Log.e(ActivityUi.class.getSimpleName(), "Root is null for " + activity.getClass().getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
BIN
android-app/src/main/res/drawable-xxhdpi/logo_wizard.png
Normal file
BIN
android-app/src/main/res/drawable-xxhdpi/logo_wizard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -16,7 +16,6 @@
|
||||
android:id="@+id/pager_indicator"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
my:fillColor="@color/cpp_metro_blue"
|
||||
my:radius="5dp" />
|
||||
|
||||
</LinearLayout>
|
@ -22,13 +22,17 @@
|
||||
~ Site: http://se.solovyev.org
|
||||
-->
|
||||
|
||||
<TextView xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:drawableTop="@drawable/icon"
|
||||
a:drawablePadding="5dp"
|
||||
<FrameLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:gravity="center"
|
||||
a:layout_gravity="center"
|
||||
a:textColor="@color/material_text"
|
||||
a:textAppearance="@android:style/TextAppearance.Medium"
|
||||
a:text="@string/c_first_start_text" />
|
||||
a:drawablePadding="40dp"
|
||||
a:drawableTop="@drawable/logo_wizard"
|
||||
a:gravity="center"
|
||||
a:text="@string/c_first_start_text"
|
||||
a:textAppearance="@android:style/TextAppearance.Medium" />
|
||||
</FrameLayout>
|
||||
|
@ -29,6 +29,7 @@
|
||||
<color name="cpp_button_text_ce">#ffffffff</color>
|
||||
<color name="cpp_selected_angle_unit_text">#ffffff99</color>
|
||||
<color name="cpp_main_bg">#ff000000</color>
|
||||
<color name="cpp_wizard_bg">#ff374248</color>
|
||||
<color name="cpp_pane_background">#ff1f1f1f</color>
|
||||
<color name="cpp_metro_button_dark">#ff000000</color>
|
||||
<color name="cpp_metro_button">#212121</color>
|
||||
|
@ -28,6 +28,15 @@
|
||||
<style name="Theme.Base" parent="@style/Theme.AppCompat"></style>
|
||||
<style name="Theme.Base.Dialog" parent="@style/Theme.AppCompat.Dialog"></style>
|
||||
|
||||
<style name="Theme.Wizard.Purchase" parent="cpp_metro_blue_theme">
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:background">@color/cpp_metro_button_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Wizard" parent="@style/cpp_metro_blue_theme">
|
||||
<item name="android:windowBackground">@color/cpp_wizard_bg</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings" parent="@style/cpp_metro_blue_theme">
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowActionBar">false</item>
|
||||
|
@ -48,11 +48,6 @@
|
||||
<item name="android:padding">6dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Wizard" parent="cpp_metro_blue_theme">
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:background">@color/cpp_metro_button_light</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_metro_blue_theme" parent="cpp_gray_theme">
|
||||
<item name="cpp_digit_button_style">@style/metro_digit_button_style</item>
|
||||
<item name="cpp_control_button_style">@style/metro_control_button_style</item>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<integer name="default_circle_indicator_orientation">0</integer>
|
||||
<dimen name="default_circle_indicator_radius">3dp</dimen>
|
||||
<bool name="default_circle_indicator_snap">false</bool>
|
||||
<color name="default_circle_indicator_stroke_color">@color/cpp_metro_button_light</color>
|
||||
<color name="default_circle_indicator_stroke_color">#ffc2c2c2</color>
|
||||
<dimen name="default_circle_indicator_stroke_width">1px</dimen>
|
||||
|
||||
<dimen name="default_line_indicator_line_width">12dp</dimen>
|
||||
|
Loading…
Reference in New Issue
Block a user