SendFragment and ReceiveFragment changes

This commit is contained in:
dtvv 2018-10-31 18:46:48 -06:00
parent d8cd132c88
commit a2f696c326
5 changed files with 79 additions and 8 deletions

View file

@ -12,7 +12,7 @@
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name=".activities.MainActivity"
android:name="de.bitshares_munich.smartcoinswallet.ReceiveActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
@ -25,6 +25,17 @@
android:name=".activities.SettingsActivity"
android:label="@string/title_settings">
</activity>
<!--<activity
android:name="de.bitshares_munich.smartcoinswallet.ReceiveActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme" />-->
<activity
android:name=".activities.RequestActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme" />
</application>
</manifest>

View file

@ -1,6 +1,7 @@
package cy.agorise.crystalwallet.util
import android.content.Context
import android.support.annotation.Nullable
import android.support.v7.widget.AppCompatImageView
import android.util.AttributeSet
@ -21,7 +22,7 @@ class SquaredImageView : AppCompatImageView {
) {
}
protected fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
protected override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
super.onMeasure(widthMeasureSpec, heightMeasureSpec)
val size = Math.min(getMeasuredWidth(), getMeasuredHeight())

View file

@ -1,10 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#009FE3</color>
<color name="colorPrimaryDark">#0071b1</color>
<color name="colorAccent">#D81B60</color>
<color name="colorPrimary">#0099d6</color>
<color name="colorPrimaryDark">#0099d6</color>
<color name="colorAccent">#669900</color>
<color name="gray">#d3d3d3</color>
<color name="darkGray">#686767</color>
<color name="white">#ffffff</color>
<color name="pink">#f0006b</color>
<color name="black">#000</color>
<color name="colorReceive">#669900</color>
<color name="colorSend">#DC473A</color>
<color name="green">#147b00</color>
<color name="black">#000000</color>
<color name="skyblue">#BFD1FF</color>
<color name="light_blue">#f2f6ff</color>
<color name="greencolor">#70882E</color>
<color name="red">#ff0000</color>
<color name="pinkColor">#FF4081</color>
<color name="redcolor">#DD4739</color>
<color name="textColorPrimary">#FFFFFF</color>
<color name="windowBackground">#FFFFFF</color>
<color name="navigationBarColor">#000000</color>
<color name="bottomBarColor">#dddddd</color>
<color name="blackColor">#000000</color>
<color name="whiteColor">#ffffff</color>
<color name="receive_amount">#669900</color>
<color name="receive_amount_light">#c5e1a5</color>
<color name="send_amount">#DC473A</color>
<color name="send_amount_light">#ef9a9a</color>
<color name="transactionsHeader">#BFE5F5</color>
<color name="transactionsseparator">#CCCCCC</color>
<color name="color_preloader_start">#000000</color>
<color name="color_preloader_center">#000000</color>
<color name="color_preloader_end">#ff56a9c7</color>
</resources>

View file

@ -4,4 +4,7 @@
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="appbar_padding_top">8dp</dimen>
<dimen name="layout_margin">35sp</dimen>
</resources>

View file

@ -9,4 +9,31 @@
<!-- Settings -->
<string name="title_settings">Settings</string>
<string name="night_mode">Night mode</string>
<string name="cancel">CANCEL</string>
<string name="to">to</string>
<string name="from">from</string>
<string name="account_id">accountId</string>
<string name="pref_language">language</string>
<string name="next">NEXT</string>
<string name="from_capital">From</string>
<string name="to_capital">To</string>
<string name="amount">Amount</string>
<string name="loyalty_points">Loyalty Points</string>
<string name="backup_asset">Backup Asset</string>
<string name="memo_capital">Memo</string>
<string name="checkbox_donate">Donate 2 BTS to the Support Developers at</string>
<string name="send_capital">Send</string>
<string name="v_1_0_beta" translatable="false">v 1.0 beta</string>
<string name="block_number" translatable="false">block# -------</string>
<string name="no_amount_requested">No amount requested</string>
<string name="request_amount_screen_name">Amount</string>
</resources>