Focus on the Ionic bottom navigation button tabs on Android and float down on top of the deal _android

Source: Internet
Author: User

Ionic is a popular mobile-end development framework, but students who are just getting started will find ionic at the bottom of iOS and Android tabs. In the case of Android, the bottom tabs will float up.

The following figure shows:

There are a lot of such solutions on the Internet, but I think that 1000 10,000 is inferior to a dome really, the following is attached to the solution dome, we can see!

<! DOCTYPE html>  

Config.js

Angular.module ("Ezapp", ["Ionic"])
. config (function ($stateProvider, $urlRouterProvider, $ionicConfigProvider) {
 //modify the tabs of Android display position! start
 $ionicConfigProvider. Platform.ios.tabs.style (' Standard ');
 $ionicConfigProvider. Platform.ios.tabs.position (' bottom ');
 $ionicConfigProvider. Platform.android.tabs.style (' standard ');
 $ionicConfigProvider. Platform.android.tabs.position (' standard ');
 $ionicConfigProvider. Platform.ios.navBar.alignTitle (' center ');
 $ionicConfigProvider. Platform.android.navBar.alignTitle (' left ');
 $ionicConfigProvider. Platform.ios.backButton.previousTitleText ('). Icon (' Ion-ios-arrow-thin-left ');
 $ionicConfigProvider. Platform.android.backButton.previousTitleText ('). Icon (' Ion-android-arrow-back ');
 $ionicConfigProvider. Platform.ios.views.transition (' iOS ');
 $ionicConfigProvider. Platform.android.views.transition (' Android ');
};

The directory structure is as follows:


If not resolved, you can see where and I do not, if the icon does not show you can check the fonts file, if the font garbled look can have a label. Other questions Welcome to the message!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.