This is an example of using Filterable with a SearchView to filter the data of a ListView adapter.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2010 Firat Salgur | |
* <p> | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* <p> | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* <p> | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# A shell script to resize icon images and generate the alternative drawables with the proper screen pixel densities (dip) for Android. | |
# The passed icon image would be the xxxhdpi drawable & the other drawables (xxhdpi, xhdpi, hdpi & mdpi) would be scaled down from that. | |
# How to use: | |
# ./drawablegen.sh <icon image file relative path> | |
# Example: | |
# ./drawablegen.sh my_image.png | |
# This will create all the drawable folders, if not has already, in a res folder inside the current directory (as returned by pwd). | |
# Use only with PNG images. | |
# Requires ImageMagick to be installed & added to the path environment variable. Install with: sudo apt install imagemagick |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"