Ameba Ownd

アプリで簡単、無料ホームページ作成

Material components for android downloading

2021.12.16 17:29






















Bugs or feature requests should be submitted at our GitHub Issues section. Skip to content. Star 13k. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats 4, commits. Failed to load latest commit information. Update GitHub issue templates. Get the SourceForge newsletter. JavaScript is required for this form. No, thanks. Summary Files Reviews. Project Samples. Project Activity. Categories Frameworks , Design , Libraries.


License Apache License V2. Mit einem Experten sprechen. In-app reviews. In-app updates. Google Play Instant. Get started with instant apps. Get started with instant games. Integrate with Firebase. Play Install Referrer. Play Install Referrer Library. Application Licensing. Android GPU Inspector.


System profiling. Analyze a system profile. GPU performance counters. Frame profiling. Analyze a frame profile. Frame Profiler UI. Customize or port game engines. Process input events. Support game controllers. Achieve proper frame pacing. Frame pacing in Vulkan. Integrate Android Performance Tuner.


Output audio. Manage memory. Use prebuilt or turnkey game engines. Develop with Defold. Develop with Godot. Develop with Unity. Use Android Performance Tuner. Game best practices. Maximize device availability. Art assets.


OpenGL and Vulkan. Game Mode. Best practices. Building effective unit tests. Automating UI tests. Testing app component integrations. Android Vitals. Optimizing for Battery Life. System tracing. Build and test apps for accessibility. Advanced topics. Protecting against security threats with SafetyNet. Build for Billions. Build for Enterprise. App feedback. As the Material Design system evolves, these components are updated to ensure consistent pixel-perfect implementation and adherence to Google's front-end development standards.


This codelab is the first of 4 codelabs that will guide you through building an app called Shrine , an e-commerce Android app that sells clothing and home goods. It will demonstrate how you can customize components to reflect any brand or style using MDC-Android. However, if this is your first time launching Android Studio, go through the Android Studio Setup Wizard steps with the default values.


This step can take several minutes to download and install the necessary files, so feel free to leave this running in the background while doing the next section.


Download starter app. The project needs a dependency on the MDC Android support library. The sample code you downloaded should already have this dependency listed, but it is good practice to do the following steps to make sure.


The starter code for Shrine's login page should be running in your emulator. You should see the name "Shrine" and the Shrine logo just below it. Let's take a look at the code. We've provided a simple Fragment navigation framework in our sample code to display fragments and navigate between fragments. Open up MainActivity. It should contain this:.


This activity displays the R. You can see that in onCreate , MainActivity. That is what we will be modifying for this codelab. The activity also implements a navigateTo Fragment method, defined in NavigationHost , which lets any fragment navigate to a different fragment.


Let's open up LoginFragment. When more string resources are added in the future, they will be defined here. To begin, we'll add two text fields to our login page for people to enter their username and password. We'll use the MDC Text Field component, which includes built-in functionality that displays a floating label and error messages.


The hint text for each text field is specified in the android:hint attribute.