Skip to content

Commit

Permalink
minor ui fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pranayairan committed Jan 19, 2019
1 parent 8c0fadd commit 376cf3d
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ class CoinDiscoveryFragment : Fragment(), CoinDiscoveryContract.View {
// empty existing list
coinDiscoveryList = ArrayList()

coinDiscoveryList.add(LabelModule.LabelModuleData("Top Coins"))
coinDiscoveryList.add(LabelModule.LabelModuleData(getString(R.string.top_volume)))
coinDiscoveryList.add(CarousalModule.CarousalModuleData(null))

coinDiscoveryList.add(LabelModule.LabelModuleData("Top Pair"))
coinDiscoveryList.add(LabelModule.LabelModuleData(getString(R.string.top_pair)))
coinDiscoveryList.add(CarousalModule.CarousalModuleData(null))

coinDiscoveryList.add(LabelModule.LabelModuleData("Recent News"))
coinDiscoveryList.add(LabelModule.LabelModuleData(getString(R.string.recent_news)))

// coinDashboardList.add(0, CarousalModule.CarousalModuleData(null))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ class IntroFragment : Fragment() {
super.onViewCreated(view, savedInstanceState)
view.apply {
findViewById<LottieAnimationView>(R.id.animationView).setAnimation(animationRes)
if (page == 1) {
findViewById<LottieAnimationView>(R.id.animationView).speed = 1.5f
}
findViewById<TextView>(R.id.tvTitle).text = headerTitle
findViewById<TextView>(R.id.tvSubTitle).text = headerSubtitle
if (showbutton) {
Expand Down
Binary file added app/src/main/res/drawable-hdpi/menu_search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-mdpi/menu_search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-xhdpi/menu_search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-xxhdpi/menu_search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-xxxhdpi/menu_search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/src/main/res/layout/fragment_dashboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
android:id="@+id/rvDashboard"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="@dimen/generic4dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />

</android.support.v4.widget.SwipeRefreshLayout>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/menu/home_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- (100 is the orderInCategory value associated with the menu items inflated by the main activity -->
<item
android:id="@+id/action_search"
android:icon="@drawable/search_icon"
android:icon="@drawable/menu_search"
android:orderInCategory="10"
android:title="@string/search"
app:showAsAction="always" />
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<string name="feedback">Feedback</string>
<string name="privacy_policy">Privacy policy</string>
<string name="intro_coin_title">5000 Coins</string>
<string name="intro_coin_message">Track more than 5000 coins, across 132 exchanges.</string>
<string name="intro_coin_message">Track 4000+ coins, across 100+ exchanges.</string>
<string name="intro_track_title">Track Gains</string>
<string name="intro_track_message">Add transactions, track profit and loss. All at 1 place.</string>
<string name="intro_secure_title">Highly Secure</string>
Expand All @@ -142,4 +142,6 @@
<string name="cdThirdExchange">Third Exchange</string>
<string name="cdExchange">Exchange</string>
<string name="attribution">Attribution</string>
<string name="top_volume">Top Volume Coins</string>
<string name="top_pair">Top Volume Pair</string>
</resources>

0 comments on commit 376cf3d

Please sign in to comment.