diff --git a/app/src/main/java/carbon/crypto/com/carbon/Application.java b/app/src/main/java/carbon/crypto/com/carbon/Application.java index 8fbba97..2b24444 100644 --- a/app/src/main/java/carbon/crypto/com/carbon/Application.java +++ b/app/src/main/java/carbon/crypto/com/carbon/Application.java @@ -1,689 +1,6 @@ package carbon.crypto.com.carbon; -import android.app.Activity; -import android.content.Context; -import android.net.ConnectivityManager; -import android.net.NetworkInfo; -import android.os.Bundle; -import android.os.Handler; -import android.os.Looper; -import android.support.annotation.NonNull; -import android.support.multidex.MultiDex; -import android.util.Log; -import android.widget.Toast; +public class Application{ -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import java.net.URI; -import java.net.URISyntaxException; -import java.text.ParseException; -import java.text.SimpleDateFormat; -import java.util.Calendar; -import java.util.Date; -import java.util.Locale; -import java.util.concurrent.TimeUnit; - -import butterknife.ButterKnife; -import de.bitshares_munich.autobahn.WebSocketConnection; -import de.bitshares_munich.autobahn.WebSocketException; -import de.bitshares_munich.interfaces.AssetDelegate; -import de.bitshares_munich.interfaces.IAccount; -import de.bitshares_munich.interfaces.IAccountID; -import de.bitshares_munich.interfaces.IAccountObject; -import de.bitshares_munich.interfaces.IAssetObject; -import de.bitshares_munich.interfaces.IBalancesDelegate; -import de.bitshares_munich.interfaces.IExchangeRate; -import de.bitshares_munich.interfaces.IRelativeHistory; -import de.bitshares_munich.interfaces.ITransactionObject; -import de.bitshares_munich.smartcoinswallet.Constants; - -/** - * Created by qasim on 5/9/16. - */ -public class Application extends android.app.Application implements de.bitshares_munich.autobahn.WebSocket.WebSocketConnectionObserver, - android.app.Application.ActivityLifecycleCallbacks { - public static Context context; - public static String blockHead = ""; - public static int refBlockNum; - public static long refBlockPrefix; - public static long blockTime; - public static String urlsSocketConnection[] = - { - "wss://bitshares.openledger.info/ws", // Openledger node - "wss://eu.openledger.info/ws", // Openledger EU node - "ws://128.0.69.157:8090", // Henry node - "ws://128.0.69.157:8091", // Henry node - "wss://de.blockpay.ch/node" // German node - }; - public static String faucetUrl = "http://128.0.69.157:5000"; - public static String monitorAccountId; - public static int nodeIndex = 0; - public static Boolean isReady = false; - static IAccount iAccount; - static IExchangeRate iExchangeRate; - static IBalancesDelegate iBalancesDelegate_transactionActivity; - static IBalancesDelegate iBalancesDelegate_ereceiptActivity; - static IBalancesDelegate iBalancesDelegate_assetsActivity; - static AssetDelegate iAssetDelegate; - static IAccountID iAccountID; - static ITransactionObject iTransactionObject; - static IAccountObject iAccountObject; - static IAssetObject iAssetObject; - static IRelativeHistory iRelativeHistory; - static String connectedSocket; - private static String TAG = "Application"; - private static Activity currentActivity; - private static Handler warningHandler = new Handler(); - private static boolean mIsConnected = false; - private static WebSocketConnection mConnection; - private static URI mServerURI; - /** - * Constant used to specify how long will the app wait for another activity to go through its starting life - * cycle events before create the lock pin screen. - *

- * This is used as a means to detect whether or not the user has left the app. - */ - private final int LOCK_DELAY = 10000; - Handler connectionHandler = new Handler(); - /* Attribute used to indicate that funds must be updated (primarilly used at SendScreen and BalanceFragments */ - private boolean mUpdateFunds = false; - /* Internal attribute used to keep track of the application state */ - private boolean mAppLock = true; - /** - * Handler instance used to schedule tasks back to the main thread - */ - private Handler mHandler; - /** - * Runnable that will set to lock the app with the PIN. - */ - private Runnable lockApp = new Runnable() { - @Override - public void run() { - mAppLock = true; - Log.i(TAG, "App Locked"); - } - }; - - public static Activity getCurrentActivity() { - return Application.currentActivity; - } - - public static void setCurrentActivity(Activity _activity) { - Application.currentActivity = _activity; - } - - public static void registerCallback(IAccount callbackClass) { - iAccount = callbackClass; - } - - public static void registerCallbackIAccountID(IAccountID callbackClass) { - iAccountID = callbackClass; - } - - public static void registerExchangeRateCallback(IExchangeRate callbackClass) { - iExchangeRate = callbackClass; - } - - public static void registerBalancesDelegateTransaction(IBalancesDelegate callbackClass) { - iBalancesDelegate_transactionActivity = callbackClass; - } - - public static void registerBalancesDelegateEReceipt(IBalancesDelegate callbackClass) { - iBalancesDelegate_ereceiptActivity = callbackClass; - } - - public static void registerBalancesDelegateAssets(IBalancesDelegate callbackClass) { - iBalancesDelegate_assetsActivity = callbackClass; - } - - public static void registerAssetDelegate(AssetDelegate callbackClass) { - iAssetDelegate = callbackClass; - } - - public static void registerTransactionObject(ITransactionObject callbackClass) { - iTransactionObject = callbackClass; - } - - public static void registerAccountObjectCallback(IAccountObject callbackClass) { - iAccountObject = callbackClass; - } - - public static void registerAssetObjectCallback(IAssetObject callbackClass) { - iAssetObject = callbackClass; - } - - public static void registerRelativeHistoryCallback(IRelativeHistory callbackClass) { - iRelativeHistory = callbackClass; - } - - private static void showWarningMessage(final String myEx) { - if (getCurrentActivity() != null) { - Log.d("exception websocket", "inside again"); - getCurrentActivity().runOnUiThread(new Runnable() { - public void run() { - Toast.makeText(context, "Your system does not supports new SSL ciphering. Error : " + myEx, Toast.LENGTH_LONG).show(); - } - }); - } - } - - public static void stringTextRecievedWs(String s) { - try { - JSONObject jsonObject = new JSONObject(s); - - if (jsonObject.has("id")) { - int id = jsonObject.getInt("id"); - Log.d(TAG, "Got response. id: " + id); - if (id == 1) { - if (s.contains("true")) { - Application.send(context.getString(R.string.database_indentifier)); - } else { - Application.send(context.getString(R.string.login_api)); - } - } else if (id == 2) { - Helper.storeIntSharePref(context, context.getString(R.string.sharePref_database), jsonObject.getInt("result")); - Application.send(context.getString(R.string.network_broadcast_identifier)); - } else if (id == 3) { - Helper.storeIntSharePref(context, context.getString(R.string.sharePref_network_broadcast), jsonObject.getInt("result")); - Application.send(context.getString(R.string.history_identifier)); - } else if (id == 4) { - Helper.storeIntSharePref(context, context.getString(R.string.sharePref_history), jsonObject.getInt("result")); - Application.send(context.getString(R.string.subscribe_callback)); - isReady = true; - } else if (id == 6) { - if (iAccount != null) { - iAccount.checkAccount(jsonObject); - } - } else if (id == 100 || id == 200) { - JSONArray jsonArray = (JSONArray) jsonObject.get("result"); - JSONObject obj = new JSONObject(); - if (jsonArray.length() != 0) { - obj = (JSONObject) jsonArray.get(1); - } - iExchangeRate.callback_exchange_rate(obj, id); - } else if (id == 8) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 20) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 21) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 22) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 23) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 12) { - if (iTransactionObject != null) { - iTransactionObject.checkTransactionObject(jsonObject); - } - } else if (id == 13) { - if (iAccountObject != null) { - iAccountObject.accountObjectCallback(jsonObject); - } - } else if (id == 14) { - if (iAssetObject != null) { - iAssetObject.assetObjectCallback(jsonObject); - } - } else if (id == 9) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 10) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 11) { - if (iBalancesDelegate_transactionActivity != null) { - iBalancesDelegate_transactionActivity.OnUpdate(s, id); - } - } else if (id == 99) { - if (iBalancesDelegate_assetsActivity != null) { - iBalancesDelegate_assetsActivity.OnUpdate(s, id); - } - } else if (id == 999) { - if (iBalancesDelegate_assetsActivity != null) { - iBalancesDelegate_assetsActivity.OnUpdate(s, id); - } - } else if (id == 15) { - if (iAssetDelegate != null) { - iAssetDelegate.getLifetime(s, id); - } - } else if (id == 151) { - if (iAccountID != null) { - iAccountID.accountId(s); - } - } else if (id == 160 || id == 161) { - if (iRelativeHistory != null) { - iRelativeHistory.relativeHistoryCallback(jsonObject); - } - } else if (id == 17) { - } else if (id == 18) { - if (iBalancesDelegate_ereceiptActivity != null) { - iBalancesDelegate_ereceiptActivity.OnUpdate(s, id); - } - } else if (id == 19) { - if (iBalancesDelegate_ereceiptActivity != null) { - iBalancesDelegate_ereceiptActivity.OnUpdate(s, id); - } - } - } else if (jsonObject.has("method")) { - if (jsonObject.getString("method").equals("notice")) { - if (jsonObject.has("params")) { - int id = jsonObject.getJSONArray("params").getInt(0); - JSONArray values = jsonObject.getJSONArray("params").getJSONArray(1); - - if (id == 7) { - headBlockNumber(values.toString()); - - if (monitorAccountId != null && !monitorAccountId.isEmpty() && values.toString().contains(monitorAccountId)) { - if (iAssetDelegate != null) { - iAssetDelegate.loadAll(); - } - Log.d("Notice Update", values.toString()); - } - } else { - Log.d("other notice", values.toString()); - } - - } - } - } - - - } catch (JSONException e) { - - } - } - - private static void sendInitialSocket(final Context context) { - - if (Application.mIsConnected) { - Application.send(context.getString(R.string.login_api)); - } - } - - private static String headBlockNumber(String json) { - final String BLOCK_REFERENCE_ID = "head_block_id"; - final String HEAD_BLOCK_NUMBER = "head_block_number"; - final String TIME = "time"; - try { - JSONArray array = new JSONArray(json); - String rawBlockId = ""; - String blockNumber = ""; - if (array.length() == 1) { - JSONArray subArray = array.getJSONArray(0); - for (int i = 0; i < subArray.length(); i++) { - if (subArray.get(i) instanceof JSONObject) { - JSONObject element = (JSONObject) subArray.get(i); - if (element.has(BLOCK_REFERENCE_ID)) { - rawBlockId = element.getString(BLOCK_REFERENCE_ID); - } - if (element.has(HEAD_BLOCK_NUMBER)) { - blockNumber = element.getString(HEAD_BLOCK_NUMBER); - } - if (element.has(TIME)) { - SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); - try { - Date date = simpleDateFormat.parse(element.getString(TIME)); - blockTime = date.getTime() / 1000; - } catch (ParseException e) { - Log.e(TAG, "ParseException while trying to parse time. time string: " + element.getString(TIME)); - } - } - } else { - String element = (String) subArray.get(i); - Log.d(TAG, "Could not cast string: " + element); - } - } - if (rawBlockId.equals("")) { - return blockHead; - } - // Setting block number - blockHead = "block# " + blockNumber; - - // Setting reference block number (lower 16 bits of block number) - refBlockNum = Integer.valueOf(blockNumber) & 0xffff; - - // Setting block prefix - String hashData = rawBlockId.substring(8, 16); - StringBuilder builder = new StringBuilder(); - for (int i = 0; i < 8; i = i + 2) { - builder.append(hashData.substring(6 - i, 8 - i)); - } - refBlockPrefix = Long.parseLong(builder.toString(), 16); - } - } catch (JSONException e) { - Log.e(TAG, "JSONException at headBlockNumber"); - } - return blockHead; - } - - - //WebSocketConnection - - public static void send(String message) { - if (mIsConnected) { - mConnection.sendTextMessage(message); - } - } - - public static void disconnect() { - Log.i("internetBlockpay", "Disconnect"); - if (mConnection != null) { - mConnection.disconnect(); - } - } - - @NonNull - public static Boolean isConnected() { - return mConnection != null && (mConnection.isConnected()); - } - - public static void timeStamp() { - - Helper.storeBoolianSharePref(context, "account_can_create", false); - setTimeStamp(); - - new Handler().postDelayed(new Runnable() { - @Override - public void run() { - - Helper.storeBoolianSharePref(context, "account_can_create", true); - - } - }, 10 * 60000); - } - - @NonNull - public static Boolean accountCanCreate() { - return Helper.fetchBoolianSharePref(context, "account_can_create"); - } - - static void setTimeStamp() { - Calendar c = Calendar.getInstance(); - long time = c.getTimeInMillis(); - Helper.storeLongSharePref(context, "account_create_timestamp", time); - } - - static void getTimeStamp() { - try { - Calendar c = Calendar.getInstance(); - long currentTime = c.getTimeInMillis(); - ; - long oldTime = Helper.fetchLongSharePref(context, "account_create_timestamp"); - long diff = currentTime - oldTime; - if (diff < TimeUnit.MINUTES.toMillis(10)) { - new Handler().postDelayed(new Runnable() { - @Override - public void run() { - Helper.storeBoolianSharePref(context, "account_can_create", true); - } - }, TimeUnit.MINUTES.toMillis(10) - diff); - } else { - Helper.storeBoolianSharePref(context, "account_can_create", true); - } - } catch (Exception e) { - Helper.storeBoolianSharePref(context, "account_can_create", true); - } - } - - /* - * Return the state of the application(If locked or not). - */ - public Boolean getLock() { - return mAppLock; - } - - /* - * Set the state of the application(If locked or not). - */ - public void setLock(Boolean value) { - mAppLock = value; - } - - @Override - public void onCreate() { - super.onCreate(); - MultiDex.install(this); - ButterKnife.setDebug(true); - context = getApplicationContext(); - blockHead = ""; - - mHandler = new Handler(); - /* - * Registering this class as a listener to all activitie's callback cycle events, in order to - * better estimate when the user has left the app and it is safe to lock the app or not - */ - registerActivityLifecycleCallbacks(this); - - - //SETUP LOCALE AND DEFAULT PREFERENCES - - //Setup Country - String country = Helper.fetchStringSharePref(getApplicationContext(), getString(R.string.pref_country), ""); - //If not at preferences yet it will setup device country or constant default - //(It is expected that this "if" will be executed only one time, at first start up) - if (country.equals("")) { - Log.w(TAG, "Could not resolve country information, trying with the telephony manager"); - //If the locale mechanism fails to give us a country, we try - //to get it from the TelephonyManager. - country = Helper.getDeviceCountry(getApplicationContext()); - //If device don't respond with any country set it to the default (app constant) - if (country == null || country.equals("")) { - Log.w(TAG, "Could not resolve country information again, falling back to the default"); - country = Constants.DEFAULT_COUNTRY_CODE; - } - } - Helper.setCountry(getApplicationContext(), country); - - //Setup Language - String language = Helper.fetchStringSharePref(getApplicationContext(), getString(R.string.pref_language)); - //If app language preferences aren't set, set default as device/os language (telephony language) - //(It is expected that this "if" will be executed only one time, at first start up) - if (language.equals("")) { - language = Locale.getDefault().getLanguage(); - //Just checking if we still don't have a language setup in the locale, in which - //case we fallback to english as the default (the app constant . - if (language.equals("")) { - Log.w(TAG, "Could not resolve language information, falling back to english"); - language = Constants.DEFAULT_LANGUAGE_CODE; - } - } - Helper.setLanguage(getApplicationContext(), language); - - - //Check automatically close app behavior (after 3 min) is set and if not, put true by default - Boolean closeAppPref = Helper.checkSharedPref(getApplicationContext(), "close_bitshare"); - if (!closeAppPref) { - Helper.storeBoolianSharePref(getApplicationContext(), "close_bitshare", true); - } - - - init(); - accountCreateInit(); - } - - public void init() { - new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { - @Override - public void run() { - if (mConnection == null) { - mConnection = new WebSocketConnection(); - checkConnection(); - } - } - }, 1000); - - } - - private void webSocketConnection() { - isReady = false; - new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { - @Override - public void run() { - nodeIndex = nodeIndex % urlsSocketConnection.length; - - Log.i(TAG, "preparing to connect to:" + urlsSocketConnection[nodeIndex]); - - connect(urlsSocketConnection[nodeIndex]); - nodeIndex++; - - } - }, 500); - - } - - @Override - public void onOpen() { - Log.i("internetBlockpay", "open internet"); - mIsConnected = true; -// Toast.makeText(context, getResources().getString(R.string.connected_to)+ ": "+connectedSocket,Toast.LENGTH_SHORT).show(); - sendInitialSocket(context); - } - - public void checkConnection() { - connectionHandler.removeCallbacksAndMessages(null); - connectionHandler.postDelayed(new Runnable() { - @Override - public void run() { - - if (checkInternetConnection()) { - { - webSocketConnection(); - } - } else { - connectionHandler.postDelayed(this, 500); - } - - } - }, 500); - } - - @Override - public void onClose(WebSocketCloseNotification code, String reason) { - Log.i("internetBlockpay", "close internet"); - mIsConnected = false; - checkConnection(); - } - - @Override - public void onTextMessage(String payload) { - stringTextRecievedWs(payload); - } - - @Override - public void onRawTextMessage(byte[] payload) { - } - - @Override - public void onBinaryMessage(byte[] payload) { - } - - private void connect(String node) { - Log.i("internetBlockpay", "connecting to internet"); - Log.i("Connect", "connect(String node) called"); - try { - if (!mIsConnected) { - Log.i("Connect", "Inside when not mIsConnected"); - mServerURI = new URI(node); - connectedSocket = node; - mConnection.connect(mServerURI, this); - } - } catch (URISyntaxException e) { - String message = e.getLocalizedMessage(); - Log.i("Connect", "Inside catch block when not mIsConnected, got exception, msg is:" + message); - checkConnection(); - } catch (WebSocketException e) { - String message = e.getLocalizedMessage(); - Log.i("Connect", "Inside catch block when not mIsConnected, got exception, msg is:" + message); - if (!mIsConnected) { - checkConnection(); - } - } - } - - Boolean checkInternetConnection() { - ConnectivityManager cm = - (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); - - NetworkInfo activeNetwork = cm.getActiveNetworkInfo(); - return activeNetwork != null && - activeNetwork.isConnectedOrConnecting(); - } - - void accountCreateInit() { - if (Helper.containKeySharePref(context, "account_can_create")) { - if (!accountCanCreate()) { - getTimeStamp(); - } - } else { - Helper.storeBoolianSharePref(context, "account_can_create", true); - } - } - - /* - * Get attribute used to indicate if UI should update the funds or not after an update (Send funds primarily) - * - * @return The boolean value of update UI state - */ - public boolean getUpdateFunds() { - return this.mUpdateFunds; - } - - /* - * Set attribute used to indicate if UI should update the funds or not after an update (Send funds primarily) - * - * @param update The boolean value of update UI state - */ - public void setUpdateFunds(boolean update) { - this.mUpdateFunds = update; - } - - @Override - public void onActivityCreated(Activity activity, Bundle savedInstanceState) { - mHandler.removeCallbacks(this.lockApp); - } - - @Override - public void onActivityStarted(Activity activity) { - mHandler.removeCallbacks(this.lockApp); - } - - @Override - public void onActivityResumed(Activity activity) { - mHandler.removeCallbacks(this.lockApp); - Application.setCurrentActivity(activity); - } - - @Override - public void onActivityPaused(Activity activity) { - //Call the handler only if app is not already locked - if (!mAppLock) { - mHandler.postDelayed(this.lockApp, LOCK_DELAY); - } - } - - @Override - public void onActivityStopped(Activity activity) { - } - - @Override - public void onActivitySaveInstanceState(Activity activity, Bundle outState) { - } - - @Override - public void onActivityDestroyed(Activity activity) { - } } diff --git a/app/src/main/res/anim/animation.xml b/app/src/main/res/anim/animation.xml new file mode 100644 index 0000000..1ca457a --- /dev/null +++ b/app/src/main/res/anim/animation.xml @@ -0,0 +1,8 @@ + + + + diff --git a/app/src/main/res/anim/coin_animation.xml b/app/src/main/res/anim/coin_animation.xml new file mode 100644 index 0000000..c6cfa24 --- /dev/null +++ b/app/src/main/res/anim/coin_animation.xml @@ -0,0 +1,25 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/anim/fade_in.xml b/app/src/main/res/anim/fade_in.xml new file mode 100644 index 0000000..e797321 --- /dev/null +++ b/app/src/main/res/anim/fade_in.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/anim/fade_out.xml b/app/src/main/res/anim/fade_out.xml new file mode 100644 index 0000000..b0e72e3 --- /dev/null +++ b/app/src/main/res/anim/fade_out.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/anim/flash.xml b/app/src/main/res/anim/flash.xml new file mode 100644 index 0000000..aba8dcc --- /dev/null +++ b/app/src/main/res/anim/flash.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/anim/home_anim.xml b/app/src/main/res/anim/home_anim.xml new file mode 100644 index 0000000..828bb04 --- /dev/null +++ b/app/src/main/res/anim/home_anim.xml @@ -0,0 +1,8 @@ + + + + diff --git a/app/src/main/res/anim/rotate360.xml b/app/src/main/res/anim/rotate360.xml new file mode 100644 index 0000000..0efcc73 --- /dev/null +++ b/app/src/main/res/anim/rotate360.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/animator/my_animated_button.xml b/app/src/main/res/animator/my_animated_button.xml new file mode 100644 index 0000000..29736d6 --- /dev/null +++ b/app/src/main/res/animator/my_animated_button.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable-hdpi/add_contact.png b/app/src/main/res/drawable-hdpi/add_contact.png new file mode 100644 index 0000000..e70a59f Binary files /dev/null and b/app/src/main/res/drawable-hdpi/add_contact.png differ diff --git a/app/src/main/res/drawable-hdpi/back_button_image.png b/app/src/main/res/drawable-hdpi/back_button_image.png new file mode 100644 index 0000000..da901c7 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/back_button_image.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_send_button.png b/app/src/main/res/drawable-hdpi/ic_send_button.png new file mode 100755 index 0000000..33f0caf Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_send_button.png differ diff --git a/app/src/main/res/drawable-hdpi/icon_help.png b/app/src/main/res/drawable-hdpi/icon_help.png new file mode 100644 index 0000000..d1847de Binary files /dev/null and b/app/src/main/res/drawable-hdpi/icon_help.png differ diff --git a/app/src/main/res/drawable-hdpi/receive.png b/app/src/main/res/drawable-hdpi/receive.png new file mode 100644 index 0000000..319a738 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/receive.png differ diff --git a/app/src/main/res/drawable-hdpi/send.png b/app/src/main/res/drawable-hdpi/send.png new file mode 100644 index 0000000..fb557bb Binary files /dev/null and b/app/src/main/res/drawable-hdpi/send.png differ diff --git a/app/src/main/res/drawable-hdpi/share.png b/app/src/main/res/drawable-hdpi/share.png new file mode 100644 index 0000000..cc2ad72 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/share.png differ diff --git a/app/src/main/res/drawable-mdpi/add_contact.png b/app/src/main/res/drawable-mdpi/add_contact.png new file mode 100644 index 0000000..24358fe Binary files /dev/null and b/app/src/main/res/drawable-mdpi/add_contact.png differ diff --git a/app/src/main/res/drawable-mdpi/back_button_image.png b/app/src/main/res/drawable-mdpi/back_button_image.png new file mode 100644 index 0000000..f11e347 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/back_button_image.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_send_button.png b/app/src/main/res/drawable-mdpi/ic_send_button.png new file mode 100755 index 0000000..faf23f3 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_send_button.png differ diff --git a/app/src/main/res/drawable-mdpi/receive.png b/app/src/main/res/drawable-mdpi/receive.png new file mode 100644 index 0000000..4789da0 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/receive.png differ diff --git a/app/src/main/res/drawable-mdpi/send.png b/app/src/main/res/drawable-mdpi/send.png new file mode 100644 index 0000000..ea89589 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/send.png differ diff --git a/app/src/main/res/drawable-mdpi/share.png b/app/src/main/res/drawable-mdpi/share.png new file mode 100644 index 0000000..b9b1756 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/share.png differ diff --git a/app/src/main/res/drawable-xhdpi/add_contact.png b/app/src/main/res/drawable-xhdpi/add_contact.png new file mode 100644 index 0000000..0153157 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/add_contact.png differ diff --git a/app/src/main/res/drawable-xhdpi/back_button_image.png b/app/src/main/res/drawable-xhdpi/back_button_image.png new file mode 100644 index 0000000..2dfe583 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/back_button_image.png differ diff --git a/app/src/main/res/drawable-xhdpi/deleteicon.png b/app/src/main/res/drawable-xhdpi/deleteicon.png new file mode 100644 index 0000000..857fd6f Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/deleteicon.png differ diff --git a/app/src/main/res/drawable-xhdpi/editicon.png b/app/src/main/res/drawable-xhdpi/editicon.png new file mode 100644 index 0000000..3cb7e6e Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/editicon.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_send_button.png b/app/src/main/res/drawable-xhdpi/ic_send_button.png new file mode 100755 index 0000000..62421d2 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_send_button.png differ diff --git a/app/src/main/res/drawable-xhdpi/receive.png b/app/src/main/res/drawable-xhdpi/receive.png new file mode 100644 index 0000000..bd50d64 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/receive.png differ diff --git a/app/src/main/res/drawable-xhdpi/send.png b/app/src/main/res/drawable-xhdpi/send.png new file mode 100644 index 0000000..08799bf Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/send.png differ diff --git a/app/src/main/res/drawable-xhdpi/share.png b/app/src/main/res/drawable-xhdpi/share.png new file mode 100644 index 0000000..2fc0718 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/share.png differ diff --git a/app/src/main/res/drawable-xhdpi/share_group.png b/app/src/main/res/drawable-xhdpi/share_group.png new file mode 100644 index 0000000..9c7e6ff Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/share_group.png differ diff --git a/app/src/main/res/drawable-xxhdpi/add_contact.png b/app/src/main/res/drawable-xxhdpi/add_contact.png new file mode 100644 index 0000000..d5397ee Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/add_contact.png differ diff --git a/app/src/main/res/drawable-xxhdpi/back_button_image.png b/app/src/main/res/drawable-xxhdpi/back_button_image.png new file mode 100644 index 0000000..eeb6fe7 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/back_button_image.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_send_button.png b/app/src/main/res/drawable-xxhdpi/ic_send_button.png new file mode 100755 index 0000000..6e27273 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_send_button.png differ diff --git a/app/src/main/res/drawable-xxhdpi/receive.png b/app/src/main/res/drawable-xxhdpi/receive.png new file mode 100644 index 0000000..7b945cc Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/receive.png differ diff --git a/app/src/main/res/drawable-xxhdpi/send.png b/app/src/main/res/drawable-xxhdpi/send.png new file mode 100644 index 0000000..bc74346 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/send.png differ diff --git a/app/src/main/res/drawable-xxhdpi/share.png b/app/src/main/res/drawable-xxhdpi/share.png new file mode 100644 index 0000000..a281ee6 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/share.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/add_contact.png b/app/src/main/res/drawable-xxxhdpi/add_contact.png new file mode 100644 index 0000000..c1e9fe0 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/add_contact.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/back_button_image.png b/app/src/main/res/drawable-xxxhdpi/back_button_image.png new file mode 100644 index 0000000..1bfa0b5 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/back_button_image.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_send_button.png b/app/src/main/res/drawable-xxxhdpi/ic_send_button.png new file mode 100755 index 0000000..9ae750a Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/ic_send_button.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/receive.png b/app/src/main/res/drawable-xxxhdpi/receive.png new file mode 100644 index 0000000..6cf2049 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/receive.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/send.png b/app/src/main/res/drawable-xxxhdpi/send.png new file mode 100644 index 0000000..f00bb1a Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/send.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/share.png b/app/src/main/res/drawable-xxxhdpi/share.png new file mode 100644 index 0000000..5118877 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/share.png differ diff --git a/app/src/main/res/drawable/add_contact_background.xml b/app/src/main/res/drawable/add_contact_background.xml new file mode 100644 index 0000000..685950f --- /dev/null +++ b/app/src/main/res/drawable/add_contact_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/back_icon.png b/app/src/main/res/drawable/back_icon.png new file mode 100644 index 0000000..2b6a0c1 Binary files /dev/null and b/app/src/main/res/drawable/back_icon.png differ diff --git a/app/src/main/res/drawable/backup_ic.png b/app/src/main/res/drawable/backup_ic.png new file mode 100644 index 0000000..2be8a4a Binary files /dev/null and b/app/src/main/res/drawable/backup_ic.png differ diff --git a/app/src/main/res/drawable/border.xml b/app/src/main/res/drawable/border.xml new file mode 100644 index 0000000..b600ddc --- /dev/null +++ b/app/src/main/res/drawable/border.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/border_digtis.xml b/app/src/main/res/drawable/border_digtis.xml new file mode 100644 index 0000000..40d53f1 --- /dev/null +++ b/app/src/main/res/drawable/border_digtis.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/border_set.xml b/app/src/main/res/drawable/border_set.xml new file mode 100644 index 0000000..31fea2c --- /dev/null +++ b/app/src/main/res/drawable/border_set.xml @@ -0,0 +1,16 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/brainkey_ic.png b/app/src/main/res/drawable/brainkey_ic.png new file mode 100644 index 0000000..c875ca8 Binary files /dev/null and b/app/src/main/res/drawable/brainkey_ic.png differ diff --git a/app/src/main/res/drawable/btn_txt.xml b/app/src/main/res/drawable/btn_txt.xml new file mode 100644 index 0000000..5573c5b --- /dev/null +++ b/app/src/main/res/drawable/btn_txt.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/bts.png b/app/src/main/res/drawable/bts.png new file mode 100644 index 0000000..e4b27a9 Binary files /dev/null and b/app/src/main/res/drawable/bts.png differ diff --git a/app/src/main/res/drawable/button_border.xml b/app/src/main/res/drawable/button_border.xml new file mode 100644 index 0000000..22b55a8 --- /dev/null +++ b/app/src/main/res/drawable/button_border.xml @@ -0,0 +1,18 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/button_text.xml b/app/src/main/res/drawable/button_text.xml new file mode 100644 index 0000000..0773464 --- /dev/null +++ b/app/src/main/res/drawable/button_text.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/cameracircle.xml b/app/src/main/res/drawable/cameracircle.xml new file mode 100644 index 0000000..8c4b581 --- /dev/null +++ b/app/src/main/res/drawable/cameracircle.xml @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/change_icon.png b/app/src/main/res/drawable/change_icon.png new file mode 100644 index 0000000..7aa6d70 Binary files /dev/null and b/app/src/main/res/drawable/change_icon.png differ diff --git a/app/src/main/res/drawable/default_gravatar_image.png b/app/src/main/res/drawable/default_gravatar_image.png new file mode 100644 index 0000000..a939b82 Binary files /dev/null and b/app/src/main/res/drawable/default_gravatar_image.png differ diff --git a/app/src/main/res/drawable/edittext_background_layer.xml b/app/src/main/res/drawable/edittext_background_layer.xml new file mode 100644 index 0000000..a90d3ce --- /dev/null +++ b/app/src/main/res/drawable/edittext_background_layer.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/edittext_bg.xml b/app/src/main/res/drawable/edittext_bg.xml new file mode 100644 index 0000000..2f4861d --- /dev/null +++ b/app/src/main/res/drawable/edittext_bg.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/erorricon.png b/app/src/main/res/drawable/erorricon.png new file mode 100644 index 0000000..f162c8e Binary files /dev/null and b/app/src/main/res/drawable/erorricon.png differ diff --git a/app/src/main/res/drawable/erorricon2.png b/app/src/main/res/drawable/erorricon2.png new file mode 100644 index 0000000..6af67f6 Binary files /dev/null and b/app/src/main/res/drawable/erorricon2.png differ diff --git a/app/src/main/res/drawable/fresh_icon.png b/app/src/main/res/drawable/fresh_icon.png new file mode 100644 index 0000000..cd83c98 Binary files /dev/null and b/app/src/main/res/drawable/fresh_icon.png differ diff --git a/app/src/main/res/drawable/gradient_background.xml b/app/src/main/res/drawable/gradient_background.xml new file mode 100644 index 0000000..78619f1 --- /dev/null +++ b/app/src/main/res/drawable/gradient_background.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/gravtr.png b/app/src/main/res/drawable/gravtr.png new file mode 100644 index 0000000..0655506 Binary files /dev/null and b/app/src/main/res/drawable/gravtr.png differ diff --git a/app/src/main/res/drawable/groupicon.png b/app/src/main/res/drawable/groupicon.png new file mode 100644 index 0000000..d94a449 Binary files /dev/null and b/app/src/main/res/drawable/groupicon.png differ diff --git a/app/src/main/res/drawable/ic_done_24dp.xml b/app/src/main/res/drawable/ic_done_24dp.xml new file mode 100644 index 0000000..1836ea6 --- /dev/null +++ b/app/src/main/res/drawable/ic_done_24dp.xml @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_error_24dp.xml b/app/src/main/res/drawable/ic_error_24dp.xml new file mode 100644 index 0000000..040b645 --- /dev/null +++ b/app/src/main/res/drawable/ic_error_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_next.png b/app/src/main/res/drawable/ic_next.png new file mode 100644 index 0000000..68f69ec Binary files /dev/null and b/app/src/main/res/drawable/ic_next.png differ diff --git a/app/src/main/res/drawable/icon_camera.png b/app/src/main/res/drawable/icon_camera.png new file mode 100644 index 0000000..744d1dd Binary files /dev/null and b/app/src/main/res/drawable/icon_camera.png differ diff --git a/app/src/main/res/drawable/icon_connecting.png b/app/src/main/res/drawable/icon_connecting.png new file mode 100644 index 0000000..9072bcf Binary files /dev/null and b/app/src/main/res/drawable/icon_connecting.png differ diff --git a/app/src/main/res/drawable/icon_disconnecting.png b/app/src/main/res/drawable/icon_disconnecting.png new file mode 100644 index 0000000..8e3cd95 Binary files /dev/null and b/app/src/main/res/drawable/icon_disconnecting.png differ diff --git a/app/src/main/res/drawable/icon_receive.png b/app/src/main/res/drawable/icon_receive.png new file mode 100644 index 0000000..9e6e211 Binary files /dev/null and b/app/src/main/res/drawable/icon_receive.png differ diff --git a/app/src/main/res/drawable/icon_send.png b/app/src/main/res/drawable/icon_send.png new file mode 100644 index 0000000..3896ad1 Binary files /dev/null and b/app/src/main/res/drawable/icon_send.png differ diff --git a/app/src/main/res/drawable/icon_setting.png b/app/src/main/res/drawable/icon_setting.png new file mode 100644 index 0000000..4fb955a Binary files /dev/null and b/app/src/main/res/drawable/icon_setting.png differ diff --git a/app/src/main/res/drawable/icon_sg.png b/app/src/main/res/drawable/icon_sg.png new file mode 100644 index 0000000..1194557 Binary files /dev/null and b/app/src/main/res/drawable/icon_sg.png differ diff --git a/app/src/main/res/drawable/loader_homescreen.xml b/app/src/main/res/drawable/loader_homescreen.xml new file mode 100644 index 0000000..a7a00e1 --- /dev/null +++ b/app/src/main/res/drawable/loader_homescreen.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/logoicon.png b/app/src/main/res/drawable/logoicon.png new file mode 100644 index 0000000..fe4498d Binary files /dev/null and b/app/src/main/res/drawable/logoicon.png differ diff --git a/app/src/main/res/drawable/next_icon.png b/app/src/main/res/drawable/next_icon.png new file mode 100644 index 0000000..9022c66 Binary files /dev/null and b/app/src/main/res/drawable/next_icon.png differ diff --git a/app/src/main/res/drawable/people.png b/app/src/main/res/drawable/people.png new file mode 100644 index 0000000..702506c Binary files /dev/null and b/app/src/main/res/drawable/people.png differ diff --git a/app/src/main/res/drawable/personicon.png b/app/src/main/res/drawable/personicon.png new file mode 100644 index 0000000..fd6edc0 Binary files /dev/null and b/app/src/main/res/drawable/personicon.png differ diff --git a/app/src/main/res/drawable/photo_icon.png b/app/src/main/res/drawable/photo_icon.png new file mode 100644 index 0000000..db7edaa Binary files /dev/null and b/app/src/main/res/drawable/photo_icon.png differ diff --git a/app/src/main/res/drawable/pin_ic.png b/app/src/main/res/drawable/pin_ic.png new file mode 100644 index 0000000..6eb8593 Binary files /dev/null and b/app/src/main/res/drawable/pin_ic.png differ diff --git a/app/src/main/res/drawable/qricon.png b/app/src/main/res/drawable/qricon.png new file mode 100644 index 0000000..65b4007 Binary files /dev/null and b/app/src/main/res/drawable/qricon.png differ diff --git a/app/src/main/res/drawable/qricon2.png b/app/src/main/res/drawable/qricon2.png new file mode 100644 index 0000000..a07c3d2 Binary files /dev/null and b/app/src/main/res/drawable/qricon2.png differ diff --git a/app/src/main/res/drawable/qrimage.png b/app/src/main/res/drawable/qrimage.png new file mode 100644 index 0000000..076735d Binary files /dev/null and b/app/src/main/res/drawable/qrimage.png differ diff --git a/app/src/main/res/drawable/radio_btn.png b/app/src/main/res/drawable/radio_btn.png new file mode 100644 index 0000000..5021bb4 Binary files /dev/null and b/app/src/main/res/drawable/radio_btn.png differ diff --git a/app/src/main/res/drawable/rcvcircle.xml b/app/src/main/res/drawable/rcvcircle.xml new file mode 100644 index 0000000..5eade00 --- /dev/null +++ b/app/src/main/res/drawable/rcvcircle.xml @@ -0,0 +1,24 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/rcvicon.png b/app/src/main/res/drawable/rcvicon.png new file mode 100644 index 0000000..919babb Binary files /dev/null and b/app/src/main/res/drawable/rcvicon.png differ diff --git a/app/src/main/res/drawable/righticon.png b/app/src/main/res/drawable/righticon.png new file mode 100644 index 0000000..6ec7992 Binary files /dev/null and b/app/src/main/res/drawable/righticon.png differ diff --git a/app/src/main/res/drawable/righticon2.png b/app/src/main/res/drawable/righticon2.png new file mode 100644 index 0000000..dce8a5c Binary files /dev/null and b/app/src/main/res/drawable/righticon2.png differ diff --git a/app/src/main/res/drawable/rounded_corners.xml b/app/src/main/res/drawable/rounded_corners.xml new file mode 100644 index 0000000..e3838dd --- /dev/null +++ b/app/src/main/res/drawable/rounded_corners.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/sample.jpg b/app/src/main/res/drawable/sample.jpg new file mode 100644 index 0000000..302e0be Binary files /dev/null and b/app/src/main/res/drawable/sample.jpg differ diff --git a/app/src/main/res/drawable/send_button.png b/app/src/main/res/drawable/send_button.png new file mode 100644 index 0000000..ca7260e Binary files /dev/null and b/app/src/main/res/drawable/send_button.png differ diff --git a/app/src/main/res/drawable/send_button_background.xml b/app/src/main/res/drawable/send_button_background.xml new file mode 100644 index 0000000..d54df51 --- /dev/null +++ b/app/src/main/res/drawable/send_button_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/sendcircle.xml b/app/src/main/res/drawable/sendcircle.xml new file mode 100644 index 0000000..77b6108 --- /dev/null +++ b/app/src/main/res/drawable/sendcircle.xml @@ -0,0 +1,24 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/sendicon.png b/app/src/main/res/drawable/sendicon.png new file mode 100644 index 0000000..2562bc7 Binary files /dev/null and b/app/src/main/res/drawable/sendicon.png differ diff --git a/app/src/main/res/drawable/sendicon2.png b/app/src/main/res/drawable/sendicon2.png new file mode 100644 index 0000000..01c168b Binary files /dev/null and b/app/src/main/res/drawable/sendicon2.png differ diff --git a/app/src/main/res/drawable/shadow_background.xml b/app/src/main/res/drawable/shadow_background.xml new file mode 100644 index 0000000..b8cf9d6 --- /dev/null +++ b/app/src/main/res/drawable/shadow_background.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/share_icon.png b/app/src/main/res/drawable/share_icon.png new file mode 100644 index 0000000..ad0ae2f Binary files /dev/null and b/app/src/main/res/drawable/share_icon.png differ diff --git a/app/src/main/res/drawable/simple_line.xml b/app/src/main/res/drawable/simple_line.xml new file mode 100644 index 0000000..bc956c4 --- /dev/null +++ b/app/src/main/res/drawable/simple_line.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/spinnericon.png b/app/src/main/res/drawable/spinnericon.png new file mode 100644 index 0000000..2b49c50 Binary files /dev/null and b/app/src/main/res/drawable/spinnericon.png differ diff --git a/app/src/main/res/drawable/thank_you.png b/app/src/main/res/drawable/thank_you.png new file mode 100644 index 0000000..bf90a51 Binary files /dev/null and b/app/src/main/res/drawable/thank_you.png differ diff --git a/app/src/main/res/layout/activity_alert_pin_dialog.xml b/app/src/main/res/layout/activity_alert_pin_dialog.xml index f593a2f..9284c50 100644 --- a/app/src/main/res/layout/activity_alert_pin_dialog.xml +++ b/app/src/main/res/layout/activity_alert_pin_dialog.xml @@ -9,23 +9,8 @@ android:paddingBottom="@dimen/activity_horizontal_margin" android:paddingLeft="0dp" android:paddingRight="0dp" - android:paddingTop="@dimen/activity_vertical_margin" - tools:context="de.bitshares_munich.smartcoinswallet.TabActivity"> - - - + android:paddingTop="@dimen/activity_vertical_margin"> + + android:fitsSystemWindows="true"> - - - - - - - - - - - diff --git a/app/src/main/res/layout/activity_tab.xml b/app/src/main/res/layout/activity_tab.xml index 5c408d5..2d748c9 100644 --- a/app/src/main/res/layout/activity_tab.xml +++ b/app/src/main/res/layout/activity_tab.xml @@ -7,49 +7,13 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> - - - - - - - - - + - #3F51B5 - #303F9F - #FF4081 + #0099d6 + #0099d6 + #669900 + #d3d3d3 + #686767 + #ffffff + #f0006b + + #147b00 + + #000000 + #BFD1FF + #f2f6ff + #70882E + #ff0000 + #FF4081 + #DD4739 + + #FFFFFF + #FFFFFF + #000000 + + #dddddd + + #000000 + #ffffff + #669900 + #c5e1a5 + #DC473A + #ef9a9a + #BFE5F5 + #CCCCCC + + #000000 + #000000 + #ff56a9c7 diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..9cf8f0c --- /dev/null +++ b/app/src/main/res/values/dimens.xml @@ -0,0 +1,24 @@ + + + 16dp + 16dp + 264dp + 16dp + 14sp + 72dp + 70sp + 16dp + 16dp + 35sp + 30sp + 5dp + 70dp + 140dp + 150dp + + + 13sp + + + 70dp + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3a2b0c4..4ad8b47 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,451 @@ - Carbon + Smartcoins Wallet + Ok + Send + Success! + + "Import from private key (WIF)" + Wallet Import Format - WIF + Private Key (WIF) + Please enter private key (wif) + Invalid WIF + Invalid account, please check your WIF for typing errors + Unable to load WIF + Error creating WIF key + WIF imported account doesn\'t support brainkey backup + + ACCOUNT CREATE/REGISTER OR IMPORT + Account Name + Time stamp + Email PDF + Account + Friendly Name + Notes + Note + Payment Received + + Import from BrainKey + Import Backup from .bin file + Choose Backup + Choose File + No file chosen + + Choose File + Please wait until Balances are loading + + PIN (6+ digits) + PIN confirm + CREATE + OR + Existing Account + v 1.0 beta + block# ------- + Agreement + pref_agreement + Cancel and Exit + I Agree + Kindly create an account name + Please enter old PIN + Please enter PIN + Please enter PIN confirmation + Please enter the password used to encrypt this backup file + Please enter the pin number used to encode this backup file + The pin number must be at least 6 digits + The old pin number must be at least 6 digits + mismatch pin + Invalid account, please check your brain key for typing errors + menace saa tenible carless koftgar snarly stoned gear abater outbow defile stowage unsappy scrout cowskin wramp + pin + Brainkey + Print this out, or write it down. Anyone with access to your recovery key will have access to funds within this wallet. + CREATE WALLET + SAVE + NEXT + + Please enter brainkey + Please enter correct brainkey + Balances + Contacts + RECEIVE + SEND + Transactions + SettingActivity + Backup Asset + Taxable Country + Display Dates and Times as + Check for updates on startup + Automatically install major version + Require PIN/Pattern to send funds & view memos + Automatically close Smartcoins Wallet after 3 minutes of inactivity + Always Donate 2 BTS to the Support Developers at BitShares Munich(bitshares munich) + Hide Donations from homescreen Transactions list + BACKUP .bin + Donate 2 BTS to the Support Developers at + BACKUP BRAINKEY + No account using this key was found, please make sure you are using an updated backup file. + Imported/Created Accounts + REGISTER NEW ACCOUNT + REFRESH ACCOUNT KEYS + Update account keys + This procedure will update you currently active account keys. You\'ll be required to backup the new keys after the procedure is done and discard your last backup, since it will no longer be valid.\n\nPlease handle this operation with care and don\'t forget to keep your new brain key in a safe and accessible place. + Proceed + Cancel + Later + Security update notice + There has been an update to fix a previously undetected security issue. It is unlikely that your account has been affected, but we still strongly urge you to manually update your account keys and replace your old backups.\n\nThe following is a list of accounts we suggest you to update. Please select them and click on the proceed button if you want to do the update now.\n + All the accounts currently managed by this app had their keys updated for your security. You are urged to update all your key backups\n\n + Some accounts currently managed by this app had their keys updated for your security. You are urged to update all your key backups.\n\n + Some accounts currently managed by this app had their keys updated for your security. You are urged to update all your key backups.\n\nFor the ones that couldn\'t be updated the most probable reason of failure is the lack of funds. Please check that your accounts have a minimal balance and try to update the keys manually in the settings. + There has been a security update, however the app was not able to update the keys for your accounts. The most probable reason for this is the lack of funds. Please check that your accounts have a minimal balance and try to update the keys manually in the settings. + Updating accounts + Please wait while the followng accounts have their keys updated.\n\nIn case of error please check the account balance, you must have a minimal amount of funds in order to perform this operation. + Security update done + It was not possible to update your account key this time, please check your balance. + Success! your account key was updated + EDIT PIN + Export + Show more +

Smartcoins Wallet Terms and Conditions of Use

The following terminology applies to these Terms and Conditions of Use (our “Terms”), the Privacy and Transparency Statement, and any and all other agreements between you and us: “Client”, “Customer”, “User”, “You” and “Your” refers to you, the person accessing the Smartcoins Wallet software application (“App”) and accepting our Terms. “The Company”, “BitShares”, “BitShares Munich”, “Our”, “Ourselves”, “We” and “Us” collectively refers to the App and to its owners, operators, developers, contractors, directors, officers, employees, agents, insurers, suppliers, and attorneys. “Party” refers to either you or Us. In these Terms, unless otherwise specified, words importing the singular include the plural and vice versa and words importing gender include all genders. “Digital asset”, “asset”, “coin”, “cryptocurrency”, “good”, “ledger entry”, “altcoin” and “token” refer to blockchain-based software ledger data entries.

By using the App, you represent and warrant that you are:

We reserve the right to terminate your access to the App for any reason, including but not limited to breaches of our Terms, in our sole and absolute discretion. Use of the App is void where prohibited by applicable law.

1. Terms

By accessing the App, you agree to be bound by our Terms, all applicable laws and regulations, and you agree that you are responsible for compliance with, and that you are compliant with applicable law. If you do not agree with any of our Terms, you are prohibited from using or accessing the App; your only recourse is to stop using the App. Any use of the App is your deemed acceptance of our Terms as they may be modified and amended from time to time. The materials contained in the App are protected by applicable copyright and trademark laws and treaties. You should check back often in case our Terms undergo changes.

By accepting our Terms, you expressly allow Us to export data outside of the jurisdiction in which you reside or are located when you access the App.

2. Limitations

Use of the App may carry financial risk, and is to be used as an experimental software utility only. In no event shall We be liable or responsible for any damages, claims, applications, losses, injuries, delays, accidents, costs, business interruption costs, or other expenses (including, without limitation, attorneys’ fees or the costs of any claim or suit), nor for any incidental, direct, indirect, general, special, punitive, exemplary, or consequential damages, loss of goodwill or business profits, loss of cryptocurrency or digital assets, work stoppage, data loss, computer or device failure or malfunction, or any other commercial or other losses directly or indirectly arising out of or related to: our Terms; the Privacy and Transparency Statement; any service We provide; the use of the App; any use of your digital assets or cryptocurrency with the App by any other party not authorized by you (collectively, all of the foregoing items shall be referred to herein as “Losses”). We are hereby released by you from liability for any and all Losses. We disclaim any and all warranties or guarantees, including any warranty of merchantability and warranty of fitness for any particular purpose. The foregoing limitations of liability shall apply whether the alleged liability or Losses are based on contract, negligence, tort, strict liability, or any other basis, even if We have been advised of or should have known of the possibility of such losses and damages, and without regard to the success or effectiveness of other remedies. Notwithstanding anything else in our Terms, in no event shall the combined aggregate liability for any Loss hereunder exceed 50.00€.

3. Prices, Exchange Rates, and Confirmations

Cryptocurrency and digital assets are highly experimental and risky. Our App attempts to provide accurate price and exchange rate information, but this information is highly volatile and can change quickly without users necessarily being aware of these changes. For normal orders (i.e., not “Specific Amount” orders), the exchange rate you receive is calculated at the time your payment is accepted. Due to blockchain specifications, your payment is typically considered “accepted” at one block confirmation. We may occasionally accept a payment with zero confirmations, though this decision is at Our sole discretion. It is important to note that a payment being broadcast to the blockchain network does not constitute an acceptance by Us of that payment.

Users who are sensitive to the exchange rate they receive should use Our “Amount” feature, which guarantees an exchange rate for a specified period of time. The User’s payment must be received by Us within that period in order to receive the guaranteed exchange rate. Please contact Us for more information on exchange rates.

4. Returns and Refund Policy

Cryptocurrencies, tokens, and digital assets are, by their nature, generally irreversible, and their exchange rates are highly volatile and transitory. Once the User’s asset has been transmitted to the User’s address, no refund is possible, even if the wrong address was provided to the App. All sales after transmission are final.

5. Governing Law

These Terms are governed by the laws of Munich, Germany, and any and all laws applicable therein.

6. Prohibited Jurisdictions

It is prohibited to use or access cryptocurrencies and/or Digital assets from certain jurisdictions. Transactions from Users in these jurisdictions are prohibited. By accessing the App or any services therein, you represent and warrant that you are not physically located in a prohibited jurisdiction.

7. Permissible Use

The App and all its services may be used only as a mechanism of software ledger entry translation between the User and the BitShares blockchain. You are prohibited from using the App for the purpose of translating ledger entries with other parties, with the exception of explicit payment for goods and services.

8. Terms of Use Modifications

We may revise our Terms at any time and without notice to you or third parties. By using the App, you agree to be bound by the then-current version of our Terms. We reserve the right to make any changes retroactive.

9. Costs

From time to time, We may need to spend time dealing with issues brought to Us by customers. Where any customer issue is not caused by our negligence or oversight, We reserve the right to recover reasonable administrative costs spent addressing the customer issue.

Privacy and Transparency Statement

We respect the privacy of Users of Our App by not requesting any information that is unnecessary for the use of the service or to comport with our obligations under applicable law.

We also do not in any way obscure the information that it does request or obtain. Due to the inherent transparency of blockchains, transactions to and from the App are public and easily correlated. Utilizing the App to obscure transactions or assets in any way is futile. Law enforcement has full access to blockchain information that goes in or out of the BitShares network.

You accept that We will comply willingly with all legal requests for information from it. We reserve the right to provide information to law enforcement personnel and other third parties to answer inquiries; to respond to legal process; to respond to the order of a court of competent jurisdiction and those exercising the court’s authority; and, to protect Ourselves and our users. +

Copyright 2017 BitShares Munich IVS Registered in Kingdom of Denmark Company registration no.: CVR-NR 37 62 63 76 attn: Vintervej 119, 1.1., Hasle, 8210 Aarhus V. , Denmark.

+

 

If you agree to these terms and conditions, please tap on the green button below.

]]> + + +

I just found this awesome Smartcoins Wallet that allows you to send and receive Smartcoins.

http://BitShares-Munich.de

Check it out !

+ Invite one or more of your friends to try out the Smartcoins Wallet! Email addresses are not saved or collected by anyone so their privacy is assured. + Awesome Smartcoins Wallet + Share with a friend + OPEN EMAIL APPLICATION + Settings + + Validating account... + Validating Account... + Account name should be longer + Account Name %s already exist + Account Name %s does not exist + Account already exist + Add + Edit + Contact list is Empty + + Account name is valid + "" + No internet connection + Unable to trade the Backup Assets. + Unable to send the Amount. + Unable to decode the QR code. + + Current Feature is Unavaible + + + Unable to create account from brainkey + + Importing your wallet... + + Trading pair does not exist + + + Unable to generate Qr code + price + currency + Please enter amount + Amount should be greater than zero + No amount requested + + + To + From + Memo + Empty File Created + Date + All + To/From + Amount + Message + + PDF generated and saved : + Unable to generate pdf. Please retry. Error : + Raw Transaction : + Extensions + op_in_trx + virtual_op + operation_results + Sent/Received + Details + Share QR Code + Done + + id + time + operations + trx_in_block + + Symbol + + + Fee + OK + + Loading... + Pay to + + requested + + + Failed Transaction + + + Warning! Only %1$s %2$s is available + %1$s %2$s available + Please enter valid amount + Please enter valid To account + Transaction Failed + Please enter valid amount + Insufficient Amount + Insufficient balance for this operation + An error ocurred while broadcasting your transaction, some assets require a small amount of BTS to complete the transfer. + Select TimeZone + + + Old PIN + PIN created successfully + Edit PIN + SAVE + Create PIN + PIN changed successfully + Incorrect old PIN + + dateTimeZone + Copy + + UNLOCKED + Please enter PIN + + // Screen Names + Send + Receive + Amount + Thankyou + Settings + Scan QR + Share with friends + Add Contact + Trade Not Available + Edit Contact + + + // Not to be localized + audio_file_path + audio_file_name + audio_file_mute + + desired_smart_coin + uia_coin + https://github.com/kenCode-de/smartcoins-wallet/issues + (%1$s %2$s + %3$s %4$s = %5$s %6$s) + database + network_broadcast + history + account_name + Preferred Language + account_from_brainkey + wallet_accounts + country_iso_code + timezone + backup_asset + backup_asset_selected + account_name + language + backup_symbol + always_donate + fade_currency + accountId + account_name + symbol + fee + to + from + memo + 1969–12–31T23:59:59 + head_block_number + e_receipt + + SmartcoinsWallet + {\"id\":1,\"method\":\"call\",\"params\":[1,\"login\",[\"\",\"\"]]} + {\"id\":7,\"method\":\"call\",\"params\":[1,\"get_limit_orders\",[\"1.3.0\",\"1.3.120\",1]]} + + + {\"method\":\"call\",\"params\":[1,\"database\",[]],\"id\":2} + + + {\"method\":\"call\",\"params\":[1,\"network_broadcast\",[]],\"id\":3} + + + {\"method\":\"call\",\"params\":[1,\"history\",[]],\"id\":4} + + + {\"method\":\"call\",\"params\":[2,\"set_subscribe_callback\",[7,true]],\"id\":5} + + + {\"method\":\"call\",\"params\":[2,\"cancel_all_subscriptions\",[]],\"id\":5} + + + + + https://bitshares.openledger.info/ws + {\"method\":\"call\",\"params\":[ + ,\"lookup_accounts\",[ + + isCheckedTimeZone + + menace saa tenible carless koftgar snarly stoned gear abater outbow defile stowage unsappy scrout cowskin wramp + + my_local_transactions + Help + Got it + Get 80% Cashback on Fees! Lifetime Members (LTM) get 80% cashback on every transaction fee they pay, and qualify to earn referral income from users they register + with or refer to the network. A Lifetime Membership is now under 20000 BTS! + + + Yes + No + Confirmation + Upgrade to LTM now? 18000 BTS will be deducted from your %s account. + Smartcoins + Folder Created + + Upgrade failed + Upgrade Successful! + Upgrading... + IMPORT ACCOUNT + UPGRADE ACCOUNT + REMOVE ACCOUNT + Are you sure to delete this account + Delete + Validation in progress.. + last letter cannot be - + account name shoud have atleast one - + EUR + eReceipt + Back + Please pay + Transferring Funds + Unable to process + Upgrade to LTM + CANCEL + Donation + Insufficient Funds + Sorry, but your wallet must have at least 1 + account in it + + "Updating Transaction Id, Please wait" + To display a photo for this Contact, enter its Gravatar e-mail here + Copied to Clipboard + + "Select + "Are you sure? + is already added + Invalid Email + "Unable to import account from bin file" + "Importing Keys from Bin file" + Import Backup from .bin file + + + Didn\'t get Account properties + + Please make sure your pin is correct + Please make sure your pin is correct or correct pin file is selected + + Unable to find user account id + Unable to load brainkey + Unable to generate bin format for key + Creating Backup File + Fetching Key + Generating bin format + Invalid PIN + Saving Bin File to + Bin File saved successfully to + Unable to save bin file + Are you sure you want to remove the + account from this wallet? + + + Error reading dictionary file + + Please try again after 5 minutes + You can\'t send funds to the same account + Bugs or Errors? + Please let us know: + + // new strings + Please backup your brainkey + + Important + Backup your .bin file somewhere safe or your funds could be lost! + backup_bin_exist + + Loyalty Points + + + Select Backup Asset + Sender Account + Receiver Account + Total + Payment Method + Thankyou for using Smartcoins Wallet + + Loading Transactions + Getting equivalent fiat exchange rate + + Fetching assets in transactions... + "Assets retrieved : " + Resolving account names in transactions + + "Generating list of transactions : " + Fiat exchange rate received + Account names retrieved : + "Decrypting memos : " + Invalid Transactions + Failure : + Invalid block header + No assets found + Invalid Assets + Invalid Account Names + Invalid input for fiat conversion + Account names not found + + Audio Folder Path + + + BTS will be deducted from + + + Please make sure your pin is correct or correct bin file is selected + + Change... + + Connected to + Only one account every 10 minutes can be registered + Names must include a number + + Names must include a dash (-) and a number + + Import Gravatar + Please import the correct file + Merchant email has been imported successfully + + + Error: %s + An error prevented this operation to succeed + + + Sent + Received + Memo: %s + + + Generating PDF file + + + Current backup password + New PIN (6+ digits) diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 5885930..f7a00e7 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,11 +1,59 @@ - + + + + + + + + + + + + +