Android C rule for text content judgment